Subversion Repositories wimsdev

Rev

Rev 5920 | Rev 7809 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5920 bpr 1
!set lstyle=<br/><span style="color:#800080;font-style:italic;">
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
13
 
5920 bpr 14
WIMS commands can be used in variable processing files and phtml files. A
32 reyssat 15
command is a word preceeded by the character $emph!$emphend.
16
<p>
17
Commands has two types:
5920 bpr 18
</p>
32 reyssat 19
<ul>
20
 <li>Execution commands, which are placed as the first word of a line.
5920 bpr 21
 </li>
32 reyssat 22
 <li>Variable commands, which are placed at the beginning of a definition of
23
   a variable.
5920 bpr 24
  </li>
32 reyssat 25
</ul>
26
Some commands can be used both as execution command and as variable command.
27
<p>
28
Commands may accept parameters which are words following it. Parameter
29
fields are separated by white spaces or special words (depending on the command).
5920 bpr 30
</p>
5921 bpr 31
<a id="cmdlist_list"></a>
5766 bpr 32
<hr/><h4>Here is the list of $emph$(choose_$cmd_choose)$emphend commands.</h4>
32 reyssat 33
 
34
!if $style!=integral
35
 You may switch to the list of
36
 !for i in $cmd_choose_list
37
  !if $i != $cmd_choose
38
   !href cmd=resume&cmd_choose=$i#cmdlist_list $(choose_$i)
39
   commands &nbsp;&nbsp;
40
  !endif
41
 !next i
42
!endif
43
 
44
<ul>
45
!for c in $cmdfiles
5921 bpr 46
 <li><a id="cmdlist_$(c)_"></a>
32 reyssat 47
 !if $style != folding
48
  !read cmd/$c.phtml
5920 bpr 49
  <br/>
32 reyssat 50
 !else
51
  !if cmdlist_$(c)_ isin $expand
3492 bpr 52
   <a href="$httpd_SCRIPT_NAME?session=$session&+cmd=resume&+op=close&+subject=cmdlist_$(c)_#cmdlist_$(c)_"></a>
5920 bpr 53
   !read cmd/$c.phtml
32 reyssat 54
  !else
55
   !href cmd=resume&op=open&subject=cmdlist_$(c)_#cmdlist_$(c)_ $c
56
  !endif
57
 !endif
5920 bpr 58
 </li>
32 reyssat 59
!next c
60
</ul>