CHARACTER CommandThis command defines a character variable capable of holding everything that can be contained in a quoted character string. SCL character variables can be defined to contain up to 65535 characters. Arrays of character variables can be defined, with a maximum of 3 dimensions. Command Definition:CHARACTER{[:|*]n} name [{[dimensions]}|{values}] {, options} nAn unsigned integer value in the range 1-65535, representing the size of the variable in characters. If unspecified the default is 1. nameThe name of the variable. This must be a valid OpenSTA Dataname. dimensionsThe dimensions of the array to be allocated for this variable. Up to three dimensions can be specified, each separated by comma. If dimensions are specified, values may not be. If a dimension has only one number, the elements in that dimension range from 1 to the number specified. If two numbers are specified, they must be separated by a colon (:); the elements in this dimension range from the first number to the second. valuesA list of character values to be associated with the variable. If values are specified, dimensions may not be. optionsA list of variable options. Note: Only one of dimensions or values may be specified for any one definition. Examples:CHARACTER:15 Dept CHARACTER:20 Names ('TOM','JOHN','DICK'), SCRIPT CHARACTER:9 Months [12] CHARACTER*20 Staff-By-Dept [8,101:150] Related: |
|
<<< prev page |
^^^ section start |
>>> next page |
Proud to be Open, prouder to be Free |
OpenSTA SCL Reference, version 2.0.6 Copyright & License Info on ToC page |
Last Updated: 2005-05-11 |