A tumblelog CMS built on AJAX, PHP and MySQL.

oobas.php 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <?php
  2. /*************************************************************************************
  3. * oobas.php
  4. * ---------
  5. * Author: Roberto Rossi (rsoftware@altervista.org)
  6. * Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
  7. * Release Version: 1.0.7.21
  8. * Date Started: 2004/08/30
  9. *
  10. * OpenOffice.org Basic language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2004/11/27 (1.0.1)
  15. * - Added support for multiple object splitters
  16. * 2004/10/27 (1.0.0)
  17. * - First Release
  18. *
  19. * TODO (updated 2004/11/27)
  20. * -------------------------
  21. *
  22. *************************************************************************************
  23. *
  24. * This file is part of GeSHi.
  25. *
  26. * GeSHi is free software; you can redistribute it and/or modify
  27. * it under the terms of the GNU General Public License as published by
  28. * the Free Software Foundation; either version 2 of the License, or
  29. * (at your option) any later version.
  30. *
  31. * GeSHi is distributed in the hope that it will be useful,
  32. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  33. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  34. * GNU General Public License for more details.
  35. *
  36. * You should have received a copy of the GNU General Public License
  37. * along with GeSHi; if not, write to the Free Software
  38. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  39. *
  40. ************************************************************************************/
  41. $language_data = array (
  42. 'LANG_NAME' => 'OpenOffice.org Basic',
  43. 'COMMENT_SINGLE' => array(1 => "'"),
  44. 'COMMENT_MULTI' => array(),
  45. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  46. 'QUOTEMARKS' => array('"'),
  47. 'ESCAPE_CHAR' => '',
  48. 'KEYWORDS' => array(
  49. 1 => array(
  50. 'dim','private','public','global','as','if','redim','true','set',
  51. 'byval',
  52. 'false','bool','double','integer','long','object','single','variant',
  53. 'msgbox','print','inputbox','green','blue','red','qbcolor',
  54. 'rgb','open','close','reset','freefile','get','input','line',
  55. 'put','write','loc','seek','eof','lof','chdir','chdrive',
  56. 'curdir','dir','fileattr','filecopy','filedatetime','fileexists',
  57. 'filelen','getattr','kill','mkdir','name','rmdir','setattr',
  58. 'dateserial','datevalue','day','month','weekday','year','cdatetoiso',
  59. 'cdatefromiso','hour','minute','second','timeserial','timevalue',
  60. 'date','now','time','timer','erl','err','error','on','error','goto','resume',
  61. 'and','eqv','imp','not','or','xor','mod','','atn','cos','sin','tan','log',
  62. 'exp','rnd','randomize','sqr','fix','int','abs','sgn','hex','oct',
  63. 'it','then','else','select','case','iif','do','loop','for','next',
  64. 'while','wend','gosub','return','goto','on','goto','call','choose','declare',
  65. 'end','exit','freelibrary','function','rem','stop','sub','switch','with',
  66. 'cbool','cdate','cdbl','cint','clng','const','csng','cstr','defbool',
  67. 'defdate','defdbl','defint','deflng','asc','chr','str','val','cbyte',
  68. 'space','string','format','lcase','left','lset','ltrim','mid','right',
  69. 'rset','rtrim','trim','ucase','split','join','converttourl','convertfromurl',
  70. 'instr','len','strcomp','beep','shell','wait','getsystemticks','environ',
  71. 'getsolarversion','getguitype','twipsperpixelx','twipsperpixely',
  72. 'createunostruct','createunoservice','getprocessservicemanager',
  73. 'createunodialog','createunolistener','createunovalue','thiscomponent',
  74. 'globalscope'
  75. )
  76. ),
  77. 'SYMBOLS' => array(
  78. '(', ')', '='
  79. ),
  80. 'CASE_SENSITIVE' => array(
  81. GESHI_COMMENTS => false,
  82. 1 => false
  83. ),
  84. 'STYLES' => array(
  85. 'KEYWORDS' => array(
  86. 1 => 'color: #b1b100;'
  87. ),
  88. 'COMMENTS' => array(
  89. 1 => 'color: #808080;'
  90. ),
  91. 'BRACKETS' => array(
  92. 0 => 'color: #66cc66;'
  93. ),
  94. 'STRINGS' => array(
  95. 0 => 'color: #ff0000;'
  96. ),
  97. 'NUMBERS' => array(
  98. 0 => 'color: #cc66cc;'
  99. ),
  100. 'METHODS' => array(
  101. 1 => 'color: #006600;'
  102. ),
  103. 'SYMBOLS' => array(
  104. 0 => 'color: #66cc66;'
  105. ),
  106. 'ESCAPE_CHAR' => array(
  107. 0 => 'color: #000099;'
  108. ),
  109. 'SCRIPT' => array(
  110. ),
  111. 'REGEXPS' => array(
  112. )
  113. ),
  114. 'URLS' => array(
  115. ),
  116. 'OOLANG' => true,
  117. 'OBJECT_SPLITTERS' => array(
  118. 1 => '.'
  119. ),
  120. 'REGEXPS' => array(
  121. ),
  122. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  123. 'SCRIPT_DELIMITERS' => array(
  124. ),
  125. 'HIGHLIGHT_STRICT_BLOCK' => array(
  126. )
  127. );
  128. ?>