@COUNTUNSAFEX
— Attempts to
expand an internal variable, function, or array element, and then returns the
number of “dangerous” characters in the resulting string.
Syntax:
%@COUNTUNSAFEX[
text]
text: | the variable, function, or array element to expand |
This function performs variable expansion on the variable, function, or
array element named by text, and then counts the
number of “dangerous” characters, as defined by the
UNSAFE
command, in the resulting string.
Note: Do not type a percent sign before the
variable or function name. If you do, TCC’s parser will expand the
argument before @COUNTUNSAFEX
gets to see it.