SAFEARRAY
—Replaces dangerous
characters or quotes elements in an array.
Syntax:
SAFEARRAY
/C:
n /R:
n /Q /QE
arrayname
/C: n | the column to change; 0-based, defaults to all |
/R: n | the row to change; 0-based, defaults to all |
/Q | Quote non-empty elements instead of replacing characters |
/QE | Quote all elements, even empty |
arrayname | the array to modify |
The arrayname is required. The array must already
exist; it must have one or two dimensions. If /C:
n
is not specified, all columns will be affected; if /R:
n
is not specified, all rows will be affected. The default action is to remap
any “dangerous” characters in array elements. If /Q
is specified, each array element will instead be enclosed in double quotes
unless it is empty. If /QE
is used, all array elements will be
double-quotes, even if they are empty.
This command is not available in TCC/LE or in versions prior to v10.