#%Module1.0 ############################################################################## # Modules Revision 3.0 # Providing a flexible user environment # # File: break/%M% # Revision: %I% # First Edition: 2006/02/21 # Last Mod.: %U%, %G% # # Authors: R.K.Owen # # Description: Testuite modulefile # Command: # Sub-Command: setenv # # Invocation: load @M@/foo # Result: %R{ # setenv _LMFILES_ ${_LMFILES_}:@M@/@V@ # setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@ # setenv testsuite3 yes # }R% # Comment: %C{ # This modulefile is used for checking whether the # TCL "break" mechanism is working, # where this is a valid loop "break" # }C% # ############################################################################## set i 0 while {$i < 99} { incr i if {$i == 9} break } setenv testsuite4 $i