Initialization of variables

You can use the PARSE instruction to init more than one variable in one statement.
Example:

 
/* init more than one variable in one statement                       */

                    /* init the variables varA, varB, varC and VarD   */
                    /* with 0                                         */
  parse value 0 0 0 0  with varA varB varC varD

                    /* init the variables varE and varG with 1 and    */
                    /* the variables varF and VarH with 0             */
  parse value 1 0 1 0  with varE varF varG varH


                    /* init all global variables with ""        v2.30 */
  exposeList = "Global. Menu. ansi. ascii. help. msgStr."    ,
               "!curMenu !ListMenu !HistoryMenu !MacroMenu"  ,
               "!MainMenu !curMenuEntry !curMenuAction"      ,
               "!thisMenu !NextMenu !BackLevel"

                    /* use interpret to init the variables      v2.30 */
  interpret "parse value '' with " exposeList


[Back: Hints for PARSEing]
[Next: Multiple assignments]