SCF Reference Manual for G-Series RVUs (G06.27+)

SCF Commands
SCF Reference Manual for G-Series RVUs520413-005
5-8
Character Strings
Character Strings
The variable char is used for attributes that accept one or more 8-bit characters. The
syntax of char is:
character-string
is any string of one or more printable ASCII characters. The variable character-
string must be enclosed in either double quotation marks (") or single quotation
marks (').
To include a double quotation mark or a single quotation mark in a string delimited by
the same type of quotation mark, enter the quotation mark character twice. The same
effect is achieved by using the other type of quotation mark to enclose the string. The
following examples illustrate acceptable methods for including quotation marks within a
character string.
Double quotation marks within double quotation marks:
"The quick ""brown"" fox jumped."
Single quotation marks within single quotation marks:
'The quick ''brown'' fox jumped.'
Double quotation marks within single quotation marks:
'The quick "brown" fox jumped.'
Single quotation marks within double quotation marks:
"The quick 'brown' fox jumped."
Integers
The variable integer is used for attributes that accept an 8-bit, 16-bit, 32-bit, or 64-bit
negative or positive integer value. The syntax of integer is:
Values that include a minus sign (-) are interpreted as negative numbers.
Values that do not include a percent sign (%) are interpreted as decimal numbers.
Those that include % are interpreted as octal numbers, those that include %B as
binary numbers, and those that include %H as hexadecimal numbers.
The range of an 8-bit integer is -128 through 127, unless it is unsigned, in which case
the range is 0 through 255.
{ "character-string" | 'character-string' }
{ [ - ] { 0|1|2|3|4|5|6|7|8|9 }… }
{ % { 0|1|2|3|4|5|6|7 }… }
{ %B { 0|1}… }
{ %H { 0|1|2|3|4|5|6|7|8|9|A|B|C|D|E|F }… }