Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>ICAM</strong> <strong>Virtual</strong> <strong>Machine</strong> ® <strong>Virtual</strong> <strong>Machine</strong> Reference, Model Customization<br />
The Macro Language, String Format Specification<br />
Skip Character Input Format<br />
x<br />
)<br />
X<br />
(!<br />
� �<br />
� � n<br />
� �<br />
X Skip input characters<br />
l Same as X; skip input characters<br />
n Number of characters to ignore<br />
A skip character format is specified by the character “X” or “x” optionally followed by an<br />
integer value from 0 to 999. A value of 0 results in the same action as if a value of 1 was specified.<br />
This format is used to advance the internal pointer on the input string by the specified<br />
number of characters. No argument is required for this format.<br />
Wildcard Input Format<br />
(! * n )<br />
* Input using default format rules<br />
n Maximum number of characters to input<br />
A wildcard format is specified by the character “*”. This format is used to read any type of value<br />
in a fixed format. Before the read is performed, the internal pointer on the input string is advanced<br />
to the next “word”. This is equivalent to specifying a space character before the format.<br />
The type of argument created by this format is dependent upon the first character. If the first<br />
character is a dollar sign ($), the following characters should be one of $NULL, true or false,<br />
resulting in a NULL or LOGICAL value. If the first character is a single quote ('), the following<br />
characters up to the matching quote, is converted to a string value. The starting and ending single<br />
quotes will not be part of the resultant string. If quotes are desired in the resultant string, the<br />
input string should contain two quotes together. If the first character is a (#), the input string is<br />
read as a minor word code. If the first character is a letter, the input string is read as a minor<br />
word name.<br />
If the first character is a digit followed by alphanumeric characters containing at least one letter,<br />
the input string is read as a minor word name. If the first character is a plus or minus sign, the<br />
input string is read as a real value.<br />
144 <strong>ICAM</strong> Technologies Corporation – Proprietary