1 <?xml version="1.0"?>
\r
3 <!DOCTYPE MODE SYSTEM "xmode.dtd">
\r
5 <!-- SQR Mode by Richard F. Ashwell III -->
\r
8 <PROPERTY NAME="lineComment" VALUE="!" />
\r
11 <RULES IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
\r
12 <!-- Normal comments. -->
\r
13 <EOL_SPAN TYPE="COMMENT1">!</EOL_SPAN>
\r
15 <!-- Literal String -->
\r
16 <SPAN TYPE="LABEL" NO_LINE_BREAK="TRUE">
\r
21 <!-- SQR Replacement String -->
\r
22 <SPAN TYPE="LABEL" NO_LINE_BREAK="TRUE">
\r
27 <SEQ TYPE="OPERATOR">^</SEQ>
\r
28 <SEQ TYPE="OPERATOR">@</SEQ>
\r
29 <SEQ TYPE="OPERATOR">:=</SEQ>
\r
30 <SEQ TYPE="OPERATOR">=</SEQ>
\r
31 <SEQ TYPE="OPERATOR"><></SEQ>
\r
32 <SEQ TYPE="OPERATOR">>=</SEQ>
\r
33 <SEQ TYPE="OPERATOR"><=</SEQ>
\r
34 <SEQ TYPE="OPERATOR">></SEQ>
\r
35 <SEQ TYPE="OPERATOR"><</SEQ>
\r
36 <SEQ TYPE="OPERATOR">+</SEQ>
\r
37 <SEQ TYPE="OPERATOR">/</SEQ>
\r
38 <SEQ TYPE="OPERATOR">*</SEQ>
\r
40 <MARK_FOLLOWING TYPE="LITERAL1">$</MARK_FOLLOWING>
\r
41 <MARK_FOLLOWING TYPE="LITERAL2">#</MARK_FOLLOWING>
\r
42 <MARK_FOLLOWING TYPE="MARKUP">&</MARK_FOLLOWING>
\r
45 <!-- Section KeyWords -->
\r
46 <FUNCTION>begin-procedure</FUNCTION>
\r
47 <FUNCTION>end-procedure</FUNCTION>
\r
48 <FUNCTION>begin-report</FUNCTION>
\r
49 <FUNCTION>end-report</FUNCTION>
\r
50 <FUNCTION>begin-heading</FUNCTION>
\r
51 <FUNCTION>end-heading</FUNCTION>
\r
52 <FUNCTION>begin-setup</FUNCTION>
\r
53 <FUNCTION>end-setup</FUNCTION>
\r
54 <FUNCTION>begin-footing</FUNCTION>
\r
55 <FUNCTION>end-footing</FUNCTION>
\r
56 <FUNCTION>begin-program</FUNCTION>
\r
57 <FUNCTION>end-program</FUNCTION>
\r
59 <!-- Block Keywords -->
\r
60 <KEYWORD1>begin-select</KEYWORD1>
\r
61 <KEYWORD1>end-select</KEYWORD1>
\r
62 <KEYWORD1>begin-sql</KEYWORD1>
\r
63 <KEYWORD1>end-sql</KEYWORD1>
\r
65 <!-- SQR Functional Keywords -->
\r
66 <KEYWORD2>add</KEYWORD2>
\r
67 <KEYWORD2>array-add</KEYWORD2>
\r
68 <KEYWORD2>array-divide</KEYWORD2>
\r
69 <KEYWORD2>array-multiply</KEYWORD2>
\r
70 <KEYWORD2>array-subtract</KEYWORD2>
\r
71 <KEYWORD2>ask</KEYWORD2>
\r
72 <KEYWORD2>break</KEYWORD2>
\r
73 <KEYWORD2>call</KEYWORD2>
\r
74 <KEYWORD2>clear-array</KEYWORD2>
\r
75 <KEYWORD2>close</KEYWORD2>
\r
76 <KEYWORD2>columns</KEYWORD2>
\r
77 <KEYWORD2>commit</KEYWORD2>
\r
78 <KEYWORD2>concat</KEYWORD2>
\r
79 <KEYWORD2>connect</KEYWORD2>
\r
80 <KEYWORD2>create-array</KEYWORD2>
\r
81 <KEYWORD2>date-time</KEYWORD2>
\r
82 <KEYWORD2>display</KEYWORD2>
\r
83 <KEYWORD2>divide</KEYWORD2>
\r
84 <KEYWORD2>do</KEYWORD2>
\r
85 <KEYWORD2>dollar-symbol</KEYWORD2>
\r
86 <KEYWORD2>else</KEYWORD2>
\r
87 <KEYWORD2>encode</KEYWORD2>
\r
88 <KEYWORD2>end-evaluate</KEYWORD2>
\r
89 <KEYWORD2>end-if</KEYWORD2>
\r
90 <KEYWORD2>end-while</KEYWORD2>
\r
91 <KEYWORD2>evaluate</KEYWORD2>
\r
92 <KEYWORD2>execute</KEYWORD2>
\r
93 <KEYWORD2>extract</KEYWORD2>
\r
94 <KEYWORD2>find</KEYWORD2>
\r
95 <KEYWORD2>font</KEYWORD2>
\r
96 <KEYWORD2>get</KEYWORD2>
\r
97 <KEYWORD2>goto</KEYWORD2>
\r
98 <KEYWORD2>graphic</KEYWORD2>
\r
99 <KEYWORD2>if</KEYWORD2>
\r
100 <KEYWORD2>last-page</KEYWORD2>
\r
101 <KEYWORD2>let</KEYWORD2>
\r
102 <KEYWORD2>lookup</KEYWORD2>
\r
103 <KEYWORD2>lowercase</KEYWORD2>
\r
104 <KEYWORD2>money-symbol</KEYWORD2>
\r
105 <KEYWORD2>move</KEYWORD2>
\r
106 <KEYWORD2>multiply</KEYWORD2>
\r
107 <KEYWORD2>new-page</KEYWORD2>
\r
108 <KEYWORD2>new-report</KEYWORD2>
\r
109 <KEYWORD2>next-column</KEYWORD2>
\r
110 <KEYWORD2>next-listing</KEYWORD2>
\r
111 <KEYWORD2>no-formfeed</KEYWORD2>
\r
112 <KEYWORD2>open</KEYWORD2>
\r
113 <KEYWORD2>page-number</KEYWORD2>
\r
114 <KEYWORD2>page-size</KEYWORD2>
\r
115 <KEYWORD2>position</KEYWORD2>
\r
116 <KEYWORD2>print</KEYWORD2>
\r
117 <KEYWORD2>print-bar-code</KEYWORD2>
\r
118 <KEYWORD2>print-chart</KEYWORD2>
\r
119 <KEYWORD2>print-direct</KEYWORD2>
\r
120 <KEYWORD2>print-image</KEYWORD2>
\r
121 <KEYWORD2>printer-deinit</KEYWORD2>
\r
122 <KEYWORD2>printer-init</KEYWORD2>
\r
123 <KEYWORD2>put</KEYWORD2>
\r
124 <KEYWORD2>read</KEYWORD2>
\r
125 <KEYWORD2>rollback</KEYWORD2>
\r
126 <KEYWORD2>show</KEYWORD2>
\r
127 <KEYWORD2>stop</KEYWORD2>
\r
128 <KEYWORD2>string</KEYWORD2>
\r
129 <KEYWORD2>subtract</KEYWORD2>
\r
130 <KEYWORD2>unstring</KEYWORD2>
\r
131 <KEYWORD2>uppercase</KEYWORD2>
\r
132 <KEYWORD2>use</KEYWORD2>
\r
133 <KEYWORD2>use-column</KEYWORD2>
\r
134 <KEYWORD2>use-printer-type</KEYWORD2>
\r
135 <KEYWORD2>use-procedure</KEYWORD2>
\r
136 <KEYWORD2>use-report</KEYWORD2>
\r
137 <KEYWORD2>use-report</KEYWORD2>
\r
138 <KEYWORD2>while</KEYWORD2>
\r
139 <KEYWORD2>write</KEYWORD2>
\r
140 <KEYWORD2>to</KEYWORD2>
\r
142 <!-- SQL Keywords -->
\r
143 <KEYWORD3>from</KEYWORD3>
\r
144 <KEYWORD3>where</KEYWORD3>
\r
145 <KEYWORD3>and</KEYWORD3>
\r
146 <KEYWORD3>between</KEYWORD3>
\r
147 <KEYWORD3>or</KEYWORD3>
\r
148 <KEYWORD3>in</KEYWORD3>
\r