ME» !Sample: Variable Evaluation LevelöƒõšĶā@²ą?’ŠĶā@e\Ō(é’ļ?ĄĶā@`ūā@‚----------------------------------------------------------------------------------------------------------------------------------T!Sample: Variable Evaluation LevelT‚----------------------------------------------------------------------------------------------------------------------------------T T What it does:T[ This macro demonstrates the new Variable Evaluation Level feature. It shows how to enableT] the Variable Evaluation Level feature, how to fill a sequence of variables, and how to readT] and use a sequence of variables. It includes two methods to fill the sequence of variables.T T] To incorporate a similar feature in your macros, use the Scripting Editor to study how thisT& macro works and change it as needed.T T Requires:T3 This macro requires Macro Express v 3.5d or laterT T Limitations:T^ This macro will allow you to fill up to 88 variables ... T10 through T97. Skipping variablesT[ T1 through T10 simplifies the macro because it is not necessary to add a leading '0' whenT# dealing with the variable number.T T Written by:T" Insight Software Solutions, Inc.T T‚----------------------------------------------------------------------------------------------------------------------------------T TUsesT7 N1 - Number of T variable. Must be between 10 and 97.T, N2 - Number of variables that were filled.T- N3 - Number of times to loop in Repeat loopT N4 - Variable Evaluation LevelT T T1 - Temporary work variableT) T2 - Filename of text file to read fromTS T3 - Contains selection of which method to use to fill the sequence of variablesT T4 T10-T97 - Filled with a sequence of string values.TG T98 - Work variable used to fill one of the variables in the sequenceTD T99 - Work variable containing the content of one line or variableT TRequiresT Notepad.exeT T‚----------------------------------------------------------------------------------------------------------------------------------TT_-----------------------------------------------------------------------------------------------TChoose which example to runT_-----------------------------------------------------------------------------------------------T|BT‚£2TCenterCenter Choose sampleEnter the Variable Evaluation Level Fill a sequence of variables with a simple string Fill a sequence of variables from a text fileTTT_-----------------------------------------------------------------------------------------------T,Enable the Variables Evaluation Level optionT_-----------------------------------------------------------------------------------------------T‰T-1AT%T1%Preferences Registry KeyT}2T­+%T1%\AdvOptions\Variables Evaluation LevelT}pFTFCenterCenterEnter the desired Variable Evaluation Level. Enter 0 to disable the Variable Evaluation Level.T®+%T1%\AdvOptions\Variables Evaluation LevelTT†TTT_-----------------------------------------------------------------------------------------------T1Fill a sequence of variables with a simple stringT_-----------------------------------------------------------------------------------------------TT‰T-1BT}10T}RFTFCenterCenterEnter the number of variables to fill. Must be between 1 and 88.TT‰N-188T}88T†T‰N-11T}1T†T}10TTF0%N3%00%N1%000001T|bThis variable is #%N1%T|aTżaT€TF1TT†TTT_-----------------------------------------------------------------------------------------------T-Fill a sequence of variables from a text fileT_-----------------------------------------------------------------------------------------------TT‰T-1CT6pT3CenterCenter000269000107000Filling sequence of variables Filling sequence of variables ... Please wait.TT| c:\test.txtT|BFTFCenterCenterEnter the filepath of a text string to read fromT}10TzT000001TT000001b%T2%T‰N-198T|aTżaT€TF1T‡T FSystemExclamationT6gT1CenterCenter000387000146000N1 is too large ... N1 is too large ... cannot exceed 97. N1 = %N1%TōT†T{T†TTT‰T-1BTĀT‰T-1CT_-----------------------------------------------------------------------------------------------T%Save number of lines that were copiedT_-----------------------------------------------------------------------------------------------T€TTT_-----------------------------------------------------------------------------------------------T6This routine retrieves (types) a sequence of variablesT_-----------------------------------------------------------------------------------------------TT"01120 notepad.exenotepadT}10T„D2FD1T‰NN98T’ 01notepadT notepadT†T%T%N1%%TF00.05T€TF1T‡T0000TōT†TTT†TTT_-----------------------------------------------------------------------------------------------TDoneT_-----------------------------------------------------------------------------------------------TT\BōB