1 | 1 | simandl | <?php |
2 | | | /************************************************************************************* |
3 | | | * sdlbasic.php |
4 | | | * ------------ |
5 | | | * Author: Roberto Rossi |
6 | | | * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org) |
7 | | | * Release Version: 1.0.8.1 |
8 | | | * Date Started: 2005/08/19 |
9 | | | * |
10 | | | * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi. |
11 | | | * |
12 | | | * CHANGES |
13 | | | * ------- |
14 | | | * 2005/08/19 (1.0.0) |
15 | | | * - First Release |
16 | | | * |
17 | | | ************************************************************************************* |
18 | | | * |
19 | | | * This file is part of GeSHi. |
20 | | | * |
21 | | | * GeSHi is free software; you can redistribute it and/or modify |
22 | | | * it under the terms of the GNU General Public License as published by |
23 | | | * the Free Software Foundation; either version 2 of the License, or |
24 | | | * (at your option) any later version. |
25 | | | * |
26 | | | * GeSHi is distributed in the hope that it will be useful, |
27 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
28 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
29 | | | * GNU General Public License for more details. |
30 | | | * |
31 | | | * You should have received a copy of the GNU General Public License |
32 | | | * along with GeSHi; if not, write to the Free Software |
33 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
34 | | | * |
35 | | | ************************************************************************************/ |
36 | | | |
37 | | | $language_data = array ( |
38 | | | 'LANG_NAME' => 'sdlBasic', |
39 | | | 'COMMENT_SINGLE' => array(1 => "'", 2 => "rem", 3 => "!", 4 => "#"), |
40 | | | 'COMMENT_MULTI' => array(), |
41 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
42 | | | 'QUOTEMARKS' => array('"'), |
43 | | | 'ESCAPE_CHAR' => '', |
44 | | | 'KEYWORDS' => array( |
45 | | | 1 => array( |
46 | | | 'const', 'option', 'explicit', 'qbasic', 'include', 'argc', |
47 | | | 'argv', 'command', 'command$', 'run', 'shell', 'os', 'declare', |
48 | | | 'sub', 'function', 'return', 'while', 'wend', 'exit', 'end', |
49 | | | 'continue', 'if', 'then', 'else', 'elseif', |
50 | | | 'select', 'case', 'for', 'each', 'step', |
51 | | | 'next', 'to', 'dim', 'shared', 'common', 'lbound', 'bound', |
52 | | | 'erase', 'asc', 'chr', 'chr$', 'insert', 'insert$', 'instr', 'lcase', |
53 | | | 'lcase$', 'left', 'left$', 'len', 'length', 'ltrim', 'ltrim$', 'mid', |
54 | | | 'mid$', 'replace', 'replace$', 'replacesubstr', 'replacesubstr$', |
55 | | | 'reverse', 'reverse$', 'right', 'right$', 'rinstr', 'rtrim', 'rtrim$', |
56 | | | 'space', 'space$', 'str', 'str$', 'strf', 'strf$', 'string', 'string$', |
57 | | | 'tally', 'trim', 'trim$', 'typeof', 'typeof$', 'ucase', 'ucase$', 'val', |
58 | | | 'abs', 'acos', 'andbit', 'asin', 'atan', 'bitwiseand', 'bitwiseor', |
59 | | | 'bitwisexor', 'cos', 'exp', 'fix', 'floor', 'frac', 'hex', 'hex$', 'int', |
60 | | | 'log', 'min', 'max', 'orbit', 'randomize', 'rnd', 'round', 'sgn', 'sin', |
61 | | | 'sqr', 'tan', 'xorbit', 'open', 'as', 'file', 'input', 'close', 'output', |
62 | | | 'append', 'eof', 'fileexists', 'filecopy', 'filemove', 'filerename', |
63 | | | 'freefile', 'kill', 'loc', 'lof', 'readbyte', 'rename', 'seek', |
64 | | | 'writebyte', 'chdir', 'dir', 'dir$', 'direxists', 'dirfirst', 'dirnext', |
65 | | | 'mkdir', 'rmdir', 'print', 'date', 'date$', 'time', 'time$', 'ticks', |
66 | | | 'data', 'read', 'reservebank', 'freebank', 'copybank', 'loadbank', |
67 | | | 'savebank', 'setbank', 'sizebank', 'poke', 'doke', 'loke', 'peek', 'deek', |
68 | | | 'leek', 'memcopy', 'setdisplay', 'setcaption', 'caption', 'displaywidth', |
69 | | | 'displayheight', 'displaybpp', 'screen', 'directscreen', 'screenopen', |
70 | | | 'screenclose', 'screenclone', 'screencopy', 'screenfade', 'screenfadein', |
71 | | | 'screencrossfade', 'screenalpha', 'screenlock', 'screenunlock', |
72 | | | 'screenrect', 'xscreenrect', 'yscreenrect', 'wscreenrect', 'hscreenrect', |
73 | | | 'flagscreenrect', 'screenwidth', 'screenheight', 'offset', 'xoffset', |
74 | | | 'yoffset', 'cls', 'screenswap', 'autoback', 'setautoback', |
75 | | | 'dualplayfield', 'waitvbl', 'fps', 'rgb', 'enablepalette', 'color', |
76 | | | 'palette', 'colorcycling', 'ink', 'point', 'dot', 'plot', 'line', 'box', |
77 | | | 'bar', 'circle', 'fillcircle', 'ellipse', 'fillellipse', 'paint', |
78 | | | 'loadimage', 'saveimage', 'loadsound', 'savesound', 'loadmusic', |
79 | | | 'hotspot', 'setcolorkey', 'imageexists', 'imagewidth', 'imageheight', |
80 | | | 'deleteimage', 'copyimage', 'setalpha', 'zoomimage', 'rotateimage', |
81 | | | 'rotozoomimage', 'blt', 'pastebob', 'pasteicon', 'grab', 'spriteclip', |
82 | | | 'sprite', 'deletesprite', 'xsprite', 'ysprite', 'spritewidth', |
83 | | | 'spriteheight', 'frsprite', 'livesprite', 'spritehit', 'autoupdatesprite', |
84 | | | 'updatesprite', 'setbob', 'bob', 'deletebob', 'xbob', 'ybob', 'bobwidth', |
85 | | | 'bobheight', 'frbob', 'livebob', 'bobhit', 'autoupdatebob', 'updatebob', |
86 | | | 'text', 'setfont', 'textrender', 'pen', 'paper', 'prints', 'locate', |
87 | | | 'atx', 'aty', 'curson', 'cursoff', 'inputs', 'zoneinputs', |
88 | | | 'isenabledsound', 'soundexists', 'deletesound', 'copysound', |
89 | | | 'musicexists', 'playsound', 'volumesound', 'stopsound', 'pausesound', |
90 | | | 'resumesound', 'vumetersound', 'positionsound', 'soundchannels', |
91 | | | 'playmusic', 'positionmusic', 'stopmusic', 'fademusic', 'pausemusic', |
92 | | | 'resumemusic', 'rewindmusic', 'volumemusic', 'speedmusic', 'numdrivescd', |
93 | | | 'namecd', 'getfreecd', 'opencd', 'indrivecd', 'trackscd', 'curtrackcd', |
94 | | | 'curframecd', 'playcd', 'playtrackscd', |
95 | | | 'pausecd', 'resumecd', 'stopcd', 'ejectcd', 'closecd', 'tracktypecd', |
96 | | | 'tracklengthcd', 'trackoffsetcd', 'key', 'inkey', 'waitkey', 'xmouse', |
97 | | | 'ymouse', 'xmousescreen', 'ymousescreen', 'bmouse', 'changemouse', |
98 | | | 'locatemouse', 'mouseshow', 'mousehide', 'mousezone', 'numjoysticks', |
99 | | | 'namejoystick', 'numaxesjoystick', 'numballsjoystick', 'numhatsjoystick', |
100 | | | 'numbuttonsjoystick', 'getaxisjoystick', 'gethatjoystick', |
101 | | | 'getbuttonjoystick', 'xgetballjoystick', 'ygetballjoystick', 'joy', |
102 | | | 'bjoy', 'wait', 'timer', 'isenabledsock', 'getfreesock', 'opensock', |
103 | | | 'acceptsock', 'isserverready', 'connectsock', 'connectionreadysock', |
104 | | | 'isclientready', 'losesock', 'peeksock', 'readsock', 'readbytesock', |
105 | | | 'readlinesock', 'writesock', 'writebytesock', 'writelinesock', |
106 | | | 'getremoteip', 'getremoteport', 'getlocalip' |
107 | | | ) |
108 | | | ), |
109 | | | 'SYMBOLS' => array( |
110 | | | '(', ')' |
111 | | | ), |
112 | | | 'CASE_SENSITIVE' => array( |
113 | | | GESHI_COMMENTS => false, |
114 | | | 1 => false |
115 | | | ), |
116 | | | 'STYLES' => array( |
117 | | | 'KEYWORDS' => array( |
118 | | | 1 => 'color: #b1b100;' |
119 | | | ), |
120 | | | 'COMMENTS' => array( |
121 | | | 1 => 'color: #808080;', |
122 | | | 2 => 'color: #808080;', |
123 | | | 3 => 'color: #808080;', |
124 | | | 4 => 'color: #808080;' |
125 | | | ), |
126 | | | 'BRACKETS' => array( |
127 | | | |
128 | | | ), |
129 | | | 'STRINGS' => array( |
130 | | | |
131 | | | ), |
132 | | | 'NUMBERS' => array( |
133 | | | |
134 | | | ), |
135 | | | 'METHODS' => array( |
136 | | | |
137 | | | ), |
138 | | | 'SYMBOLS' => array( |
139 | | | |
140 | | | ), |
141 | | | 'ESCAPE_CHAR' => array( |
142 | | | |
143 | | | ), |
144 | | | 'SCRIPT' => array( |
145 | | | ), |
146 | | | 'REGEXPS' => array( |
147 | | | ) |
148 | | | ), |
149 | | | 'URLS' => array( |
150 | | | 1 => '' |
151 | | | ), |
152 | | | 'OOLANG' => true, |
153 | | | 'OBJECT_SPLITTERS' => array( |
154 | | | 1 => '.' |
155 | | | ), |
156 | | | 'REGEXPS' => array( |
157 | | | ), |
158 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
159 | | | 'SCRIPT_DELIMITERS' => array( |
160 | | | ), |
161 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
162 | | | ) |
163 | | | ); |
164 | | | |
165 | | | ?> |