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