2 /*************************************************************************************
5 * Author: Roberto Rossi
6 * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org)
7 * Release Version: 1.0.8.4
8 * Date Started: 2005/08/19
10 * sdlBasic (http://sdlbasic.sf.net) language file for GeSHi.
17 *************************************************************************************
19 * This file is part of GeSHi.
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.
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.
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
35 ************************************************************************************/
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('"'),
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'
112 'CASE_SENSITIVE' => array(
113 GESHI_COMMENTS
=> false,
118 1 => 'color: #b1b100;'
121 1 => 'color: #808080;',
122 2 => 'color: #808080;',
123 3 => 'color: #808080;',
124 4 => 'color: #808080;'
127 0 => 'color: #66cc66;'
130 0 => 'color: #ff0000;'
133 0 => 'color: #cc66cc;'
136 0 => 'color: #66cc66;'
139 0 => 'color: #66cc66;'
141 'ESCAPE_CHAR' => array(
142 0 => 'color: #000099;'
153 'OBJECT_SPLITTERS' => array(
158 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
159 'SCRIPT_DELIMITERS' => array(
161 'HIGHLIGHT_STRICT_BLOCK' => array(