;Type This file exercises the features of SETUP ;Type job name is "", job identifier is "" ;Option monday/;type Today is Monday ;Option tuesday/;type Today is Tuesday ;Option wednesday/;type Today is Wednesday ;Option thursday/;type Today is Thursday ;Option friday/;type Today is Friday ;Option saturday/;type Today is Saturday ;Option sunday/;type Today is Sunday ;No-option monday/;no-option tuesday/;no-option wednesday/;no-option thursday/;no-option friday/;no-option saturday/;no-option sunday/;type pre-defined day-of-week option is broken ;Error error-statement-1//error-statement-2//error-statement-3 ;Error second try ;Option restart/;Type job is being restarted ;No-option restart /;Type job is not being restarted ;Option restart/;Type all terminal activity will now stop Begin:: ;Include included ;Perform included =("first","second") =("value","try") ;Perform included =("last") =("time") ;Type your MCF files are: ;Perform included ,,=*.mcf ;Ask Enter any line of text//that you desire ;Define option defyes yes ;Define option defno no ;No-option defyes/;Type ;define option ... yes doesn't work ;Option defno/;Type ;define option ... no doesn't work ;No-option defyes/;Option defno/;Select option selno If this prompt appears, then automatic ;Sel opt doesn't work ;Option selno /;typ automatic ;sel opt doesn't work ;Define constant test value ;If "" not = "TEST VALUE"/;typ ;def cons or ;if broken ;Define variable Enter something like "test" ;If "" = "test" /;typ Thank you ;If "" not = "test" /;typ You didn't type "test" ;If "" < "test" /;typ "" is less than "test" ;If "" > "test" /;typ "" is greater than "test" ;If "" not < "test" /;typ "" is greater than or equal to "test" ;If "" not> "test" /;typ "" is less than or equal to "test" ;If "" numeric /;typ "" is numeric - ;IF NUMERIC broken ;If "" not numeric /;typ "" is not numeric ;Define variable Type a number ;If "" numeric /;typ "" is numeric ;If "" not numeric /;typ ;IF NOT NUMERIC broken ;Define/allow variable Defaulting is allowed here ;Type Value was ;Define/save variable The value you enter will be saved ;Type You entered ;Define/verify variable You will be asked to verify this value ;Type You verified ;Define/allow/save variable Defaulting to last value entered ;Type Value is ;Define/allow/save/verify variable All possible switches ;Type Value is ;Select option selopt Enter this option ;Option selopt/;typ You answered "yes" ;No-option selopt/;typ You answered "no" ;Select/allow option allowed Defaulting is allowed ;Option allowed /;typ The value is "yes" ;No-option allowed /;typ The value is "no" ;Select/save option saved New value will be saved ;Op saved /;typ The value is "yes" ;No-op saved /;typ The value is "no" ;Sel/verify opt verified Value will be verified ;Op verified /;typ The value is "yes" ;No-op verified /;typ The value is "no" ;Sel/allow/save/verify opt all All switches given ;Op all /;typ The value is "yes" ;No all /;typ The value is "no" ;Op allowed/;op saved/;op verified/;op all/;typ all options were answered "yes" ;Select/allow/save/verify variable ("first item","second item", "third item" ,"fourth item" , "fifth item") Choose one of the following: ;Type ;Type You chose ;File exerciser.mcf not-found/;typ ;file ... not-found is broken ;File exerciser.ctl found/;typ ;file ... found is broken ;Type must be in SETUP.BIN for next test ;Get/def var ;Type - ;+ read as - ;+ Next ;Get should not echo ;Get/noecho var ;Type This one will ;Type option get-print should be Yes in SETUP.BIN for next test ;Get/def opt get-print old-option ;Opt old-option/;Type old-option was defined to be yes ;Type Next ;Get will not echo ;Get/noecho opt get-print ;Op get-print/;typ gotten value is Tag:: ;op restart /;Type All terminal activity is now resuming ;Define/default:"default value" variable Type here ;Type I saw "" ;Select/default:"yes" option defaulted-option Type here ;Option defaulted-option/;Type Defaults OK for ;Select option ;No-option defaulted-option/;Type Defaults broken for ;Select option ;Select/default:"second" variable ("first","second","third") Type here ;Type I saw "" ;Perform block Block-1 = ("one","two","three") ;Type Inside block Block-1 ;Type "" ;If "" = "two"/;Define option block-1 yes ;End block-1 ;Option block-1/;Type Named in-line value-list blocks OK ;No-option block-1/;Type Named in-line value-list blocks broken ;Perform block Block-2 = *.mcf ;Type Inside block-2 ;Type "" ;If "" = "exerciser.mcf"/;Define option block-2 yes ;End block-2 ;Option block-2/;Type Named in-line file-name blocks work ;No-option block-2/;Type Named in-line file-name blocks broken ;Option dummy/;No-option dummy/;Begin Unexecuted ;Type Conditional blocks are broken ;End ;Option block-2/;Begin Executed ;Type Conditional blocks are OK ;End Executed ;Option block-2/;Begin ;Option dummy/;Begin ;Type Nested conditional blocks broken ;End ;Type Nested conditional blocks OK ;End ;Perform block = ("one","two","three") ;Type Inside un-named Block 1 ;Type "" ;If "" = "two"/;Define option un-named-1 yes ;End ;Option un-named-1/;Type Un-named in-line value-list blocks OK ;No-option un-named-1/;Type Un-named in-line value-list blocks broken ;Perform block = *.mcf ;Type Inside un-named block 2 ;Type "" ;If "" = "exerciser.mcf"/;Define option un-named-2 yes ;End ;Option un-named-2/;Type Un-named in-line file-name blocks work ;No-option un-named-2/;Type Un-named in-line file-name blocks broken ;Perform block Nested-1 = ("nested-1.1","nested-1.2") ;Type ;Perform block Nested-2 = ("nested-2.1","nested-2.2") ;Type ;If "" = "nested-1.2"/;If "" = "nested-2.2"/;Define option nested-ok yes ;End Nested-2 ;End Nested-1 ;Option nested-ok/;Type Nested in-line blocks ok ;No-option nested-ok/;Type Nested in-line blocks broken ;Perform block leave-1 = ("first","second") ;Perform block leave-2 = ("one","two") ;Leave Leave-2 ;Define option leave-2 yes ;End Leave-2 ;Leave Leave-1 ;Define option leave-1 yes ;End Leave-1 ;No-option leave-2/;Type Leave from nested block OK ;Option leave-2/;Type Leave from nested block brOKen ;No-option leave-1/;Type Leave from in-line block OK ;Option leave-1/;Type Leave from in-line block broken ;Perform left = *.mcf ;Option left-opt/;Type ;Leave from ;Performed file broken ;No-option left-opt/;Type ;Leave from ;Performed file OK ;Error block @Execute this command @And this one too ;Type Inside ;Error block @Last command of block ;End ;Select option abort Do you want to abort here? ;Option abort/;Abort User aborted