Debian Codegraph @

testsuite/modulefiles/continue/4.0

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: continue/%M%
8 # Revision: %I%
9 # First Edition: 2006/02/21
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: R.K.Owen <[email protected]>
13 #
14 # Description: Testuite modulefile
15 # Command:
16 # Sub-Command: setenv
17 #
18 # Invocation: load @M@/foo
19 # Result: %R{
20 # setenv _LMFILES_ ${_LMFILES_}:@M@/@V@
21 # setenv LOADEDMODULES ${LOADEDMODULES}:@P@/@M@/@V@
22 # setenv testsuite1 yes
23 # }R%
24 # Comment: %C{
25 # This modulefile is used for checking whether the
26 # TCL "continue" mechanism is working,
27 # where this a valid loop "continue"
28 # }C%
29 #
30 ##############################################################################
31
32 set i 0
33 set j 0
34 while {$i < 19} {
35 incr i
36 if {$i > 9} continue
37 incr j
38 }
39 setenv testsuite4 "$j"