Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Naming Variables

Keywords:     naming conventions

A variable or an array variable may contain an integer, a floating point number, a string, a list, or a string representing an integer or a floating point number. Automatic conversions between numbers and strings are performed as a matter of course during execution. If a function requires a string parameter and a numeric parameter is supplied, the variable will be automatically modified to include the representative string.

If a function requires a numeric parameter and a string parameter is supplied, an attempt will be made to convert the string to the required numeric parameter. If it does not convert successfully, an error will result. To simulate arrays, use variable substitution.

Variable names may have numbers in them, but they cannot start with numbers.


Article ID:   W13907
Filename:   Naming Variables.txt