Rev 1091 | Rev 5798 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1091 | Rev 5766 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | <p>There may be any number of other files, like a $emph README$emphend file, one or more |
35 | <p>There may be any number of other files, like a $emph README$emphend file, one or more |
36 | help pages, an $emph about$emphend page, one or more graphics files, files called by one |
36 | help pages, an $emph about$emphend page, one or more graphics files, files called by one |
37 | of the above mandatory or optional files, etc. |
37 | of the above mandatory or optional files, etc. |
38 | 38 | ||
39 | <hr><h4>Variable processing files</h4> |
39 | <hr/><h4>Variable processing files</h4> |
40 | 40 | ||
41 | The files $emph var.init$emphend and $emph var.proc$emphend, |
41 | The files $emph var.init$emphend and $emph var.proc$emphend, |
42 | as well as any files called by these two |
42 | as well as any files called by these two |
43 | files, are variable processing files. <p> |
43 | files, are variable processing files. <p> |
44 | 44 | ||
Line 56... | Line 56... | ||
56 | $(emph)value$emphend may be a string (if this string contains a new-line |
56 | $(emph)value$emphend may be a string (if this string contains a new-line |
57 | character, it must be escaped by the character $emph \$emphend), or a wims |
57 | character, it must be escaped by the character $emph \$emphend), or a wims |
58 | variable command (which must then start with the character $emph!$emphend). |
58 | variable command (which must then start with the character $emph!$emphend). |
59 | <li>A command line, whose first non-space character is the character |
59 | <li>A command line, whose first non-space character is the character |
60 | $emph!$emphend, followed by the command name and optional parameters. |
60 | $emph!$emphend, followed by the command name and optional parameters. |
61 | <br>If the command produces an output string, this output will be ignored. |
61 | <br/>If the command produces an output string, this output will be ignored. |
62 | <li>A label line, whose first non-space character is the character |
62 | <li>A label line, whose first non-space character is the character |
63 | $emph:$emphend, followed by the name of the label. Anything following the |
63 | $emph:$emphend, followed by the name of the label. Anything following the |
64 | label name will be considered as comment and ignored by the interpreter. |
64 | label name will be considered as comment and ignored by the interpreter. |
65 | <br>Label is used in conjunction with the jumping command |
65 | <br/>Label is used in conjunction with the jumping command |
66 | $emph!goto$emphend. |
66 | $emph!goto$emphend. |
67 | <br>A label starting with the character '*' is catch-all, matching any |
67 | <br/>A label starting with the character '*' is catch-all, matching any |
68 | $emph!goto$emphend label. |
68 | $emph!goto$emphend label. |
69 | <li>Any line not fitting into one of the above 4 will generate a wims error |
69 | <li>Any line not fitting into one of the above 4 will generate a wims error |
70 | message. |
70 | message. |
71 | </ol> |
71 | </ol> |
72 | 72 | ||
73 | <hr><h4>Phtml files</h4> |
73 | <hr/><h4>Phtml files</h4> |
74 | 74 | ||
75 | The files main.phtml and intro.phtml, as well as any files called by these |
75 | The files main.phtml and intro.phtml, as well as any files called by these |
76 | two files, are phtml files (programmable html). |
76 | two files, are phtml files (programmable html). |
77 | <p> |
77 | <p> |
78 | A phtml file is an ordinary html file, except for lines whose |
78 | A phtml file is an ordinary html file, except for lines whose |