Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Define Global Variables and Constants
#DefineSubroutine InitConstants() a=5 b=6 c=7 d=8 return #EndSubroutineThen in the main script AND inside EACH #DefineFunction that needs them just add a
InitConstants()line to define the constants. Note that the constant definition MUST be a #DefineSubroutine, NOT a #DefineFuntion.
Article ID: W15347
File Created: 2002:09:05:13:51:24
Last Updated: 2002:09:05:13:51:24