2 /*************************************************************************************
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.19
8 * Date Started: 2004/08/30
10 * OpenOffice.org Basic language file for GeSHi.
15 * - Added support for multiple object splitters
19 * TODO (updated 2004/11/27)
20 * -------------------------
22 *************************************************************************************
24 * This file is part of GeSHi.
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.
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.
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
40 ************************************************************************************/
42 $language_data = array (
43 'LANG_NAME' => 'OpenOffice.org Basic',
44 'COMMENT_SINGLE' => array(1 => "'"),
45 'COMMENT_MULTI' => array(),
46 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
47 'QUOTEMARKS' => array('"'),
51 'dim','private','public','global','as','if','redim','true','set',
53 'false','bool','double','integer','long','object','single','variant',
54 'msgbox','print','inputbox','green','blue','red','qbcolor',
55 'rgb','open','close','reset','freefile','get','input','line',
56 'put','write','loc','seek','eof','lof','chdir','chdrive',
57 'curdir','dir','fileattr','filecopy','filedatetime','fileexists',
58 'filelen','getattr','kill','mkdir','name','rmdir','setattr',
59 'dateserial','datevalue','day','month','weekday','year','cdatetoiso',
60 'cdatefromiso','hour','minute','second','timeserial','timevalue',
61 'date','now','time','timer','erl','err','error','on','error','goto','resume',
62 'and','eqv','imp','not','or','xor','mod','','atn','cos','sin','tan','log',
63 'exp','rnd','randomize','sqr','fix','int','abs','sgn','hex','oct',
64 'it','then','else','select','case','iif','do','loop','for','next',
65 'while','wend','gosub','return','goto','on','goto','call','choose','declare',
66 'end','exit','freelibrary','function','rem','stop','sub','switch','with',
67 'cbool','cdate','cdbl','cint','clng','const','csng','cstr','defbool',
68 'defdate','defdbl','defint','deflng','asc','chr','str','val','cbyte',
69 'space','string','format','lcase','left','lset','ltrim','mid','right',
70 'rset','rtrim','trim','ucase','split','join','converttourl','convertfromurl',
71 'instr','len','strcomp','beep','shell','wait','getsystemticks','environ',
72 'getsolarversion','getguitype','twipsperpixelx','twipsperpixely',
73 'createunostruct','createunoservice','getprocessservicemanager',
74 'createunodialog','createunolistener','createunovalue','thiscomponent',
81 'CASE_SENSITIVE' => array(
82 GESHI_COMMENTS
=> false
,
87 1 => 'color: #b1b100;'
90 1 => 'color: #808080;'
93 0 => 'color: #66cc66;'
96 0 => 'color: #ff0000;'
99 0 => 'color: #cc66cc;'
102 1 => 'color: #006600;'
105 0 => 'color: #66cc66;'
107 'ESCAPE_CHAR' => array(
108 0 => 'color: #000099;'
118 'OBJECT_SPLITTERS' => array(
123 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
124 'SCRIPT_DELIMITERS' => array(
126 'HIGHLIGHT_STRICT_BLOCK' => array(