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