Rev 20 | Rev 4349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 20 | Rev 4158 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !goto proc |
2 | !goto proc |
3 | !endif |
3 | !endif |
4 | slib_title=Get an OEF environment variable |
- | |
5 | slib_parms=1\ |
4 | |
6 | ,variable name (without prefix) |
- | |
7 | slib_author=Gang Xiao |
5 | slib_author=Gang Xiao |
8 | slib_out=The variable content. |
- | |
9 | slib_comment=Only WIMS variables with prefix "oefenv_" can be obtained\ |
- | |
10 | via this slib. |
6 | |
11 | !exit |
7 | !exit |
12 | 8 | ||
13 | :proc |
9 | :proc |
14 | slib_out=!word 1 of $wims_read_parm |
10 | slib_out=!word 1 of $wims_read_parm |
15 | slib_out=$(oefenv_$slib_out) |
11 | slib_out=$(oefenv_$slib_out) |