Subversion Repositories wimsdev

Rev

Rev 5766 | Rev 5921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5766 Rev 5920
Line 1... Line 1...
1
!set lstyle=<br/><i><font color="#800080">
1
!set lstyle=<br/><span style="color:#800080;font-style:italic;">
2
!set lstend=</font></i>:
2
!set lstend=</span>:
3
!set lst_tit=!char 5 to -1 of $tit
3
!set lst_tit=!char 5 to -1 of $tit
4
!set lst_titend=$titend
4
!set lst_titend=$titend
5
!set lst_type=$lstyle Type$lstend
5
!set lst_type=$lstyle Type$lstend
6
!set type_exec=$lst_type execution command
6
!set type_exec=$lst_type execution command
7
!set type_pexec=$lst_type execution command (only valid for phtml files)
7
!set type_pexec=$lst_type execution command (only valid for phtml files)
Line 9... Line 9...
9
!set type_both=$lst_type both execution and variable command
9
!set type_both=$lst_type both execution and variable command
10
!set lst_syntax=$lstyle Syntax$lstend <tt>!
10
!set lst_syntax=$lstyle Syntax$lstend <tt>!
11
!set lst_alias=$lstyle Aliases$lstend
11
!set lst_alias=$lstyle Aliases$lstend
12
!set lst_mean =$lstyle Meaning$lstend
12
!set lst_mean =$lstyle Meaning$lstend
13
 
13
 
14
Wims commands can be used in variable processing files and phtml files. A
14
WIMS commands can be used in variable processing files and phtml files. A
15
command is a word preceeded by the character $emph!$emphend.
15
command is a word preceeded by the character $emph!$emphend.
16
<p>
16
<p>
17
Commands has two types:
17
Commands has two types:
-
 
18
</p>
18
<ul>
19
<ul>
19
 <li>Execution commands, which are placed as the first word of a line.
20
 <li>Execution commands, which are placed as the first word of a line.
-
 
21
 </li>
20
 <li>Variable commands, which are placed at the beginning of a definition of
22
 <li>Variable commands, which are placed at the beginning of a definition of
21
   a variable.
23
   a variable.
-
 
24
  </li>
22
</ul>
25
</ul>
23
Some commands can be used both as execution command and as variable command.
26
Some commands can be used both as execution command and as variable command.
24
<p>
27
<p>
25
Commands may accept parameters which are words following it. Parameter
28
Commands may accept parameters which are words following it. Parameter
26
fields are separated by white spaces or special words (depending on the command).
29
fields are separated by white spaces or special words (depending on the command).
-
 
30
</p>
27
<a name="cmdlist_list"></a>
31
<a name="cmdlist_list"></a>
28
<hr/><h4>Here is the list of $emph$(choose_$cmd_choose)$emphend commands.</h4>
32
<hr/><h4>Here is the list of $emph$(choose_$cmd_choose)$emphend commands.</h4>
29
 
33
 
30
!if $style!=integral
34
!if $style!=integral
31
 You may switch to the list of
35
 You may switch to the list of
Line 40... Line 44...
40
<ul>
44
<ul>
41
!for c in $cmdfiles
45
!for c in $cmdfiles
42
 <li><a name="cmdlist_$(c)_"></a>
46
 <li><a name="cmdlist_$(c)_"></a>
43
 !if $style != folding
47
 !if $style != folding
44
  !read cmd/$c.phtml
48
  !read cmd/$c.phtml
45
  <p>
49
  <br/>
46
 !else
50
 !else
47
  !if cmdlist_$(c)_ isin $expand
51
  !if cmdlist_$(c)_ isin $expand
48
   <a href="$httpd_SCRIPT_NAME?session=$session&+cmd=resume&+op=close&+subject=cmdlist_$(c)_#cmdlist_$(c)_"></a>
52
   <a href="$httpd_SCRIPT_NAME?session=$session&+cmd=resume&+op=close&+subject=cmdlist_$(c)_#cmdlist_$(c)_"></a>
49
   !read cmd/$c.phtml
53
   !read cmd/$c.phtml
50
   <p>
-
 
51
  !else
54
  !else
52
   !href cmd=resume&op=open&subject=cmdlist_$(c)_#cmdlist_$(c)_ $c
55
   !href cmd=resume&op=open&subject=cmdlist_$(c)_#cmdlist_$(c)_ $c
53
  !endif
56
  !endif
54
 !endif
57
 !endif
-
 
58
 </li>
55
!next c
59
!next c
56
 
-
 
57
</ul>
60
</ul>
58
 
-