HTBasic Help
×
Menu
Index

String Expression

 
A string expression is any legal combination of operands and operators joined together in such a way that the expression as a whole can be reduced to a string value. The following syntax diagram defines the legal combination of operands and operators.
 string-expression =
 ( string-expression ) |
 string-expression & string-expression |
 "string-literal" |
 string-name |
 string-array-element |
 sub-string |
 string-function [ ( param [,param...] ) ] |
 FN function-name$ [ ( param [,param...] ) ]
Where:
string-function = a function, like UPC$, which returns a string value.
param = legal parameters for string functions and user defined
         functions are explained in Chapter 4, the "Keyword Dictionary."