A tumblelog CMS built on AJAX, PHP and MySQL.

sdlbasic.php 6.9KB

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