Rev 9071 | Rev 11210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9291 | obado | 1 | !set lstyle=<br/><span class="command_attr"> |
5920 | bpr | 2 | !set lstend=</span>: |
32 | reyssat | 3 | !set lst_tit=!char 5 to -1 of $tit |
1091 | bpr | 4 | !set lst_titend=$titend |
32 | reyssat | 5 | !set lst_type=$lstyle Type$lstend |
4562 | bpr | 6 | !set type_exec=$lst_type execution command |
7 | !set type_pexec=$lst_type execution command (only valid for phtml files) |
||
8 | !set type_var =$lst_type variable command |
||
9 | !set type_both=$lst_type both execution and variable command |
||
5921 | bpr | 10 | !set lst_syntax=$lstyle Syntax$lstend <span class="tt">! |
32 | reyssat | 11 | !set lst_alias=$lstyle Aliases$lstend |
12 | !set lst_mean =$lstyle Meaning$lstend |
||
9291 | obado | 13 | !set lst_sample =$lstyle Sample(s)$lstend |
32 | reyssat | 14 | |
9291 | obado | 15 | <p>WIMS commands can be used in variable processing files and phtml files. |
16 | A command is a word preceeded by the character $emph!$emphend.</p> |
||
17 | <p>Commands has two types:</p> |
||
18 | |||
32 | reyssat | 19 | <ul> |
9291 | obado | 20 | <li>Execution commands, which are placed as the first word of a line.</li> |
21 | <li>Variable commands, which are placed at the beginning of a definition of |
||
22 | a variable.</li> |
||
32 | reyssat | 23 | </ul> |
24 | |||
9291 | obado | 25 | <p>Some commands can be used both as execution command and as variable command.</p> |
26 | <p>Commands may accept parameters which are words following it. Parameter |
||
27 | fields are separated by white spaces or special words (depending on the command).</p> |
||
28 | |||
29 | <hr/> |
||
30 | |||
31 | <h4 id="cmdlist_list">Here is the list of $emph$(choose_$cmd_choose)$emphend commands.</h4> |
||
32 | |||
32 | reyssat | 33 | !if $style!=integral |
9291 | obado | 34 | <p>You may switch to another list of commands:</p> |
35 | <ul> |
||
32 | reyssat | 36 | !for i in $cmd_choose_list |
37 | !if $i != $cmd_choose |
||
9291 | obado | 38 | <li class="wims_label inline command_list"> |
39 | !href cmd=resume&cmd_choose=$i#cmdlist_list $(choose_$i) |
||
40 | </li> |
||
32 | reyssat | 41 | !endif |
42 | !next i |
||
9291 | obado | 43 | </ul> |
32 | reyssat | 44 | !endif |
45 | |||
46 | <ul> |
||
47 | !for c in $cmdfiles |
||
9291 | obado | 48 | <li class="wims_command" id="cmdlist_$(c)_"> |
32 | reyssat | 49 | !if $style != folding |
50 | !read cmd/$c.phtml |
||
51 | !else |
||
52 | !if cmdlist_$(c)_ isin $expand |
||
3492 | bpr | 53 | <a href="$httpd_SCRIPT_NAME?session=$session&+cmd=resume&+op=close&+subject=cmdlist_$(c)_#cmdlist_$(c)_"></a> |
7809 | bpr | 54 | !read cmd/$c.phtml |
32 | reyssat | 55 | !else |
56 | !href cmd=resume&op=open&subject=cmdlist_$(c)_#cmdlist_$(c)_ $c |
||
57 | !endif |
||
58 | !endif |
||
5920 | bpr | 59 | </li> |
32 | reyssat | 60 | !next c |
61 | </ul> |