0
|
1 |
<?php
|
|
2 |
/*************************************************************************************
|
|
3 |
* vb.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.20
|
|
8 |
* Date Started: 2004/08/30
|
|
9 |
*
|
|
10 |
* Visual 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/08/30 (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' => 'Visual 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 |
'as', 'err', 'boolean', 'and', 'or', 'recordset', 'unload', 'to',
|
|
51 |
'integer','long','single','new','database','nothing','set','close',
|
|
52 |
'open','print','split','line','field','querydef','instrrev',
|
|
53 |
'abs','array','asc','ascb','ascw','atn','avg','me',
|
|
54 |
'cbool','cbyte','ccur','cdate','cdbl','cdec','choose','chr','chrb','chrw','cint','clng',
|
|
55 |
'command','cos','count','createobject','csng','cstr','curdir','cvar','cvdate','cverr',
|
|
56 |
'date','dateadd','datediff','datepart','dateserial','datevalue','day','ddb','dir','doevents',
|
|
57 |
'environ','eof','error','exp',
|
|
58 |
'fileattr','filedatetime','filelen','fix','format','freefile','fv',
|
|
59 |
'getallstrings','getattr','getautoserversettings','getobject','getsetting',
|
|
60 |
'hex','hour','iif','imestatus','input','inputb','inputbox','instr','instb','int','ipmt',
|
|
61 |
'isarray','isdate','isempty','iserror','ismissing','isnull','isnumeric','isobject',
|
|
62 |
'lbound','lcase','left','leftb','len','lenb','loadpicture','loc','lof','log','ltrim',
|
|
63 |
'max','mid','midb','min','minute','mirr','month','msgbox',
|
|
64 |
'now','nper','npv','oct','partition','pmt','ppmt','pv','qbcolor',
|
|
65 |
'rate','rgb','right','rightb','rnd','rtrim',
|
|
66 |
'second','seek','sgn','shell','sin','sln','space','spc','sqr','stdev','stdevp','str',
|
|
67 |
'strcomp','strconv','string','switch','sum','syd',
|
|
68 |
'tab','tan','time','timer','timeserial','timevalue','trim','typename',
|
|
69 |
'ubound','ucase','val','var','varp','vartype','weekday','year',
|
|
70 |
'appactivate','base','beep','call','case','chdir','chdrive','const',
|
|
71 |
'declare','defbool','defbyte','defcur','defdate','defdbl','defdec','defint',
|
|
72 |
'deflng','defobj','defsng','defstr','deftype','defvar','deletesetting','dim','do',
|
|
73 |
'else','elseif','end','enum','erase','event','exit','explicit',
|
|
74 |
'false','filecopy','for','foreach','friend','function','get','gosub','goto',
|
|
75 |
'if','implements','kill','let','lineinput','lock','loop','lset','mkdir','name','next','not',
|
|
76 |
'onerror','on','option','private','property','public','put','raiseevent','randomize',
|
|
77 |
'redim','rem','reset','resume','return','rmdir','rset',
|
|
78 |
'savepicture','savesetting','sendkeys','setattr','static','sub',
|
|
79 |
'then','true','type','unlock','wend','while','width','with','write',
|
|
80 |
'vbabort','vbabortretryignore','vbapplicationmodal','vbarray',
|
|
81 |
'vbbinarycompare','vbblack','vbblue','vbboolean','vbbyte','vbcancel',
|
|
82 |
'vbcr','vbcritical','vbcrlf','vbcurrency','vbcyan','vbdataobject',
|
|
83 |
'vbdate','vbdecimal','vbdefaultbutton1','vbdefaultbutton2',
|
|
84 |
'vbdefaultbutton3','vbdefaultbutton4','vbdouble','vbempty',
|
|
85 |
'vberror','vbexclamation','vbfirstfourdays','vbfirstfullweek',
|
|
86 |
'vbfirstjan1','vbformfeed','vbfriday','vbgeneraldate','vbgreen',
|
|
87 |
'vbignore','vbinformation','vbinteger','vblf','vblong','vblongdate',
|
|
88 |
'vblongtime','vbmagenta','vbmonday','vbnewline','vbno','vbnull',
|
|
89 |
'vbnullchar','vbnullstring','vbobject','vbobjecterror','vbok','vbokcancel',
|
|
90 |
'vbokonly','vbquestion','vbred','vbretry','vbretrycancel','vbsaturday',
|
|
91 |
'vbshortdate','vbshorttime','vbsingle','vbstring','vbsunday',
|
|
92 |
'vbsystemmodal','vbtab','vbtextcompare','vbthursday','vbtuesday',
|
|
93 |
'vbusesystem','vbusesystemdayofweek','vbvariant','vbverticaltab',
|
|
94 |
'vbwednesday','vbwhite','vbyellow','vbyes','vbyesno','vbyesnocancel',
|
|
95 |
'vbnormal','vbdirectory'
|
|
96 |
)
|
|
97 |
),
|
|
98 |
'SYMBOLS' => array(
|
|
99 |
'(', ')'
|
|
100 |
),
|
|
101 |
'CASE_SENSITIVE' => array(
|
|
102 |
GESHI_COMMENTS => false,
|
|
103 |
1 => false
|
|
104 |
),
|
|
105 |
'STYLES' => array(
|
|
106 |
'KEYWORDS' => array(
|
|
107 |
1 => 'color: #b1b100;'
|
|
108 |
),
|
|
109 |
'COMMENTS' => array(
|
|
110 |
1 => 'color: #808080;'
|
|
111 |
),
|
|
112 |
'BRACKETS' => array(
|
|
113 |
0 => 'color: #66cc66;'
|
|
114 |
),
|
|
115 |
'STRINGS' => array(
|
|
116 |
0 => 'color: #ff0000;'
|
|
117 |
),
|
|
118 |
'NUMBERS' => array(
|
|
119 |
0 => 'color: #cc66cc;'
|
|
120 |
),
|
|
121 |
'METHODS' => array(
|
|
122 |
1 => 'color: #66cc66;'
|
|
123 |
),
|
|
124 |
'SYMBOLS' => array(
|
|
125 |
0 => 'color: #66cc66;'
|
|
126 |
),
|
|
127 |
'ESCAPE_CHAR' => array(
|
|
128 |
0 => 'color: #000099;'
|
|
129 |
),
|
|
130 |
'SCRIPT' => array(
|
|
131 |
),
|
|
132 |
'REGEXPS' => array(
|
|
133 |
)
|
|
134 |
),
|
|
135 |
'OOLANG' => true,
|
|
136 |
'OBJECT_SPLITTERS' => array(
|
|
137 |
1 => '.'
|
|
138 |
),
|
|
139 |
'REGEXPS' => array(
|
|
140 |
),
|
|
141 |
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
|
142 |
'SCRIPT_DELIMITERS' => array(
|
|
143 |
),
|
|
144 |
'HIGHLIGHT_STRICT_BLOCK' => array(
|
|
145 |
)
|
|
146 |
);
|
|
147 |
|
|
148 |
?>
|