String
String VarName(Length)
The variable type "String
" is simply a synonym of the
regular Action! type "Char Array
". "VarName
" is
the name for the character array and "Length
" is how many
characters long it will be.
Note that the first cell ("VarName[0]
") is used to store the
length of the string by all standard Action! (and MUX-Window) routines. If
you create a character array that is 10 characters (cells) long, cell 0 will
be the length of the string, and cells 1 through 9 will be the string
itself.