ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_mapbasic.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_mapbasic extends HFile{
6  function HFile_mapbasic(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // MapBasic
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "gray", "purple", "brown", "blue");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array();
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("'");
39 $this->blockcommenton = array("");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "Active" => "1",
46  "Add" => "1",
47  "Alter" => "1",
48  "Append" => "1",
49  "Application" => "1",
50  "As" => "1",
51  "Auto" => "1",
52  "All" => "1",
53  "Browse" => "1",
54  "BrushPicker" => "1",
55  "Button" => "1",
56  "ButtonPad" => "1",
57  "By" => "1",
58  "ByVal" => "1",
59  "Bounds" => "1",
60  "Call" => "1",
61  "Calling" => "1",
62  "CancelButton" => "1",
63  "Case" => "1",
64  "Char" => "1",
65  "Charset" => "1",
66  "Check" => "1",
67  "CheckBox" => "1",
68  "Close" => "1",
69  "Col" => "1",
70  "Color" => "1",
71  "Command" => "1",
72  "Commit" => "1",
73  "Control" => "1",
74  "CoordSys" => "1",
75  "Create" => "1",
76  "Cursor" => "1",
77  "Center" => "1",
78  "Data" => "1",
79  "DDE" => "1",
80  "DDEExecute" => "1",
81  "DDEPoke" => "1",
82  "DDETerminate" => "1",
83  "DDETerminateAll" => "1",
84  "Declare" => "1",
85  "Define" => "1",
86  "Delete" => "1",
87  "Dialog" => "1",
88  "Dim" => "1",
89  "Disable" => "1",
90  "Do" => "1",
91  "Document" => "1",
92  "Drop" => "1",
93  "DrawMode" => "1",
94  "Display" => "1",
95  "Disconnect" => "1",
96  "Earth" => "1",
97  "Editable" => "1",
98  "EditText" => "1",
99  "Else" => "1",
100  "ElseIf" => "1",
101  "Enable" => "1",
102  "End" => "1",
103  "Error" => "1",
104  "Event" => "1",
105  "Exit" => "1",
106  "Export" => "1",
107  "Extents" => "1",
108  "Fetch" => "1",
109  "File" => "1",
110  "Find" => "1",
111  "First" => "1",
112  "FontPicker" => "1",
113  "For" => "1",
114  "Format" => "1",
115  "From" => "1",
116  "Function" => "1",
117  "Fixed" => "1",
118  "Front" => "1",
119  "Fit" => "1",
120  "FillFrame" => "1",
121  "Frame" => "1",
122  "FastEdit" => "1",
123  "Get" => "1",
124  "Global" => "1",
125  "Goto" => "1",
126  "Graph" => "1",
127  "Graphic" => "1",
128  "Group" => "1",
129  "GroupBox" => "1",
130  "Height" => "1",
131  "Hide" => "1",
132  "HelpMsg" => "1",
133  "ID" => "1",
134  "If" => "1",
135  "Include" => "1",
136  "Input" => "1",
137  "Into" => "1",
138  "In" => "1",
139  "Import" => "1",
140  "Insert" => "1",
141  "Index" => "1",
142  "Icon" => "1",
143  "Info" => "1",
144  "Interactive" => "1",
145  "Justify" => "1",
146  "Kill" => "1",
147  "Last" => "1",
148  "Layer" => "1",
149  "Layout" => "1",
150  "Lib" => "1",
151  "LINK" => "1",
152  "ListBox" => "1",
153  "Loop" => "1",
154  "Line" => "1",
155  "Map" => "1",
156  "Menu" => "1",
157  "Message" => "1",
158  "Merge" => "1",
159  "Module" => "1",
160  "MultiListBox" => "1",
161  "MapInfo" => "1",
162  "NATIVE" => "1",
163  "Next" => "1",
164  "Noselect" => "1",
165  "Note" => "1",
166  "Number" => "1",
167  "Node" => "1",
168  "Obj" => "1",
169  "Objects" => "1",
170  "Off" => "1",
171  "OKButton" => "1",
172  "On" => "1",
173  "Open" => "1",
174  "Order" => "1",
175  "Output" => "1",
176  "OnError" => "1",
177  "Overwrite" => "1",
178  "Pack" => "1",
179  "PenPicker" => "1",
180  "PopupMenu" => "1",
181  "Position" => "1",
182  "Prev" => "1",
183  "Print" => "1",
184  "PrintWin" => "1",
185  "Processing" => "1",
186  "Projection" => "1",
187  "Program" => "1",
188  "ProgressBar" => "1",
189  "ProgressBars" => "1",
190  "Put" => "1",
191  "PushButton" => "1",
192  "Point" => "1",
193  "RadioGroup" => "1",
194  "Range" => "1",
195  "Rec" => "1",
196  "ReDim" => "1",
197  "Register" => "1",
198  "Reload" => "1",
199  "Remove" => "1",
200  "Rename" => "1",
201  "Restore" => "1",
202  "ReadOnly" => "1",
203  "Resume" => "1",
204  "Rollback" => "1",
205  "Run" => "1",
206  "Rect" => "1",
207  "Redraw" => "1",
208  "Save" => "1",
209  "Seek" => "3",
210  "Select" => "1",
211  "Selectable" => "1",
212  "Set" => "1",
213  "Server" => "1",
214  "Step" => "1",
215  "Shade" => "1",
216  "Show" => "1",
217  "StaticText" => "1",
218  "StatusBar" => "1",
219  "Stop" => "1",
220  "Style" => "1",
221  "Styles" => "1",
222  "Sub" => "1",
223  "SymbolPicker" => "1",
224  "SysMenuClose" => "1",
225  "Separator" => "1",
226  "Table" => "1",
227  "Then" => "1",
228  "Title" => "1",
229  "To" => "1",
230  "Type" => "1",
231  "ToolButton" => "1",
232  "ToggleButton" => "1",
233  "Text" => "1",
234  "Union" => "1",
235  "Units" => "1",
236  "Update" => "1",
237  "Until" => "1",
238  "Undo" => "1",
239  "Using" => "1",
240  "Uncheck" => "1",
241  "UserRemoveMap" => "1",
242  "Value" => "1",
243  "Values" => "1",
244  "Variable" => "1",
245  "Vary" => "1",
246  "Where" => "1",
247  "While" => "1",
248  "Width" => "1",
249  "Window" => "1",
250  "Zoom" => "1",
251  "Alias" => "2",
252  "Brush" => "2",
253  "Date" => "2",
254  "Float" => "2",
255  "Font" => "2",
256  "Integer" => "2",
257  "Logical" => "2",
258  "Object" => "2",
259  "Pen" => "2",
260  "SmallInt" => "2",
261  "String" => "2",
262  "Symbol" => "2",
263  "Abs" => "3",
264  "Acos" => "3",
265  "Any" => "3",
266  "ApplicationDirectory$" => "3",
267  "Area" => "3",
268  "AreaOverlap" => "3",
269  "Asc" => "3",
270  "Ask" => "3",
271  "Asin" => "3",
272  "Atn" => "3",
273  "Avg" => "3",
274  "ButtonPadInfo" => "3",
275  "Buffer" => "3",
276  "CentroidX" => "3",
277  "CentroidY" => "3",
278  "Chr$" => "3",
279  "ColumnInfo" => "3",
280  "CommandInfo" => "3",
281  "Combine" => "3",
282  "Cos" => "3",
283  "Count" => "3",
284  "CurDate" => "3",
285  "CreateLine" => "3",
286  "CreateCircle" => "3",
287  "CreatePoint" => "3",
288  "CurrentBrush" => "3",
289  "CurrentFont" => "3",
290  "CurrentPen" => "3",
291  "CurrentSymbol" => "3",
292  "ConvertToPline" => "3",
293  "ConvertToRegion" => "3",
294  "Day" => "3",
295  "DeformatNumber$" => "3",
296  "Distance" => "3",
297  "EOT" => "3",
298  "EOF" => "3",
299  "Exp" => "3",
300  "EndHandler" => "3",
301  "Erase" => "3",
302  "Error$" => "3",
303  "Err" => "3",
304  "FileAttr" => "3",
305  "FileExists" => "3",
306  "Fix" => "3",
307  "FrontWindow" => "3",
308  "Format$" => "3",
309  "FormatDate$" => "3",
310  "FormatNumber$" => "3",
311  "FileOpenDlg" => "3",
312  "FileSaveAsDlg" => "3",
313  "ForegroundTaskSwitchHandler" => "3",
314  "HomeDirectory$" => "3",
315  "InStr" => "3",
316  "Int" => "3",
317  "IntersectNodes" => "3",
318  "LabelInfo" => "3",
319  "LayerInfo" => "3",
320  "LCase$" => "3",
321  "Left$" => "3",
322  "Len" => "3",
323  "Like" => "3",
324  "LOF" => "3",
325  "Log" => "3",
326  "LTrim$" => "3",
327  "MakeBrush" => "3",
328  "MakeCustomSymbol" => "3",
329  "MakeFont" => "3",
330  "MakeFontSymbol" => "3",
331  "MakePen" => "3",
332  "MakeSymbol" => "3",
333  "MapperInfo" => "3",
334  "Max" => "3",
335  "Maximum" => "3",
336  "MBR" => "3",
337  "MenuItemInfoByHandler" => "3",
338  "MenuItemInfoByID" => "3",
339  "Mid$" => "3",
340  "MidByte$" => "3",
341  "Min" => "3",
342  "Minimum" => "3",
343  "Month" => "3",
344  "NumberToDate" => "3",
345  "NumCols" => "3",
346  "NumTables" => "3",
347  "NumWindows" => "3",
348  "ObjectGeography" => "3",
349  "ObjectInfo" => "3",
350  "ObjectLen" => "3",
351  "OverlayNodes" => "3",
352  "ObjectNodeX" => "3",
353  "ObjectNodeY" => "3",
354  "Perimeter" => "3",
355  "Proper$" => "3",
356  "PathToDirectory$" => "3",
357  "PathToTableName$" => "3",
358  "PathToFileName$" => "3",
359  "ProgramDirectory$" => "3",
360  "Randomize" => "3",
361  "ReadControlValue" => "3",
362  "RGB" => "3",
363  "Right$" => "3",
364  "Rnd" => "3",
365  "Round" => "3",
366  "RTrim$" => "3",
367  "RemoteMsgHandler" => "3",
368  "RemoteQueryHandler" => "3",
369  "SearchInfo" => "3",
370  "SelectionInfo" => "3",
371  "Sgn" => "3",
372  "Sin" => "3",
373  "Space$" => "3",
374  "Sqr" => "3",
375  "Str$" => "3",
376  "String$" => "3",
377  "StringCompare" => "3",
378  "StringCompareIntl" => "3",
379  "StringToDate" => "3",
380  "StyleAttr" => "3",
381  "Sum" => "3",
382  "SystemInfo" => "3",
383  "Server_NumDrivers" => "3",
384  "SelChangedHandler" => "3",
385  "Server_Execute" => "3",
386  "Server_Connect" => "3",
387  "Server_ColumnInfo" => "3",
388  "Server_DriverInfo" => "3",
389  "Server_EOT" => "3",
390  "Server_NumCols" => "3",
391  "TableInfo" => "3",
392  "Tan" => "3",
393  "Time" => "3",
394  "Timer" => "3",
395  "TriggerControl" => "3",
396  "TempFileName$" => "3",
397  "TrueFileName$" => "3",
398  "UBound" => "3",
399  "UCase$" => "3",
400  "UnitAbbr$" => "3",
401  "UnitName$" => "3",
402  "Val" => "3",
403  "Weekday" => "3",
404  "WindowInfo" => "3",
405  "WtAvg" => "3",
406  "WinChangedHandler" => "3",
407  "WinClosedHandler" => "3",
408  "WindowID" => "3",
409  "WinFocusChangedHandler" => "3",
410  "Year" => "3",
411  "BLACK" => "4",
412  "BLUE" => "4",
413  "BRUSH_BACKCOLOR" => "4",
414  "BRUSH_FORECOLOR" => "4",
415  "BRUSH_PATTERN" => "4",
416  "BTNPAD_INFO_FLOATING" => "4",
417  "BTNPAD_INFO_NBTNS" => "4",
418  "BTNPAD_INFO_WIDTH" => "4",
419  "BTNPAD_INFO_WINID" => "4",
420  "BTNPAD_INFO_X" => "4",
421  "BTNPAD_INFO_Y" => "4",
422  "CLS" => "4",
423  "CYAN" => "4",
424  "CMD_INFO_CTRL" => "4",
425  "CMD_INFO_CUSTOM_OBJ" => "4",
426  "CMD_INFO_DLG_DBL" => "4",
427  "CMD_INFO_DLG_OK" => "4",
428  "CMD_INFO_FIND_RC" => "4",
429  "CMD_INFO_FIND_ROWID" => "4",
430  "CMD_INFO_INTERRUPT" => "4",
431  "CMD_INFO_MENUITEM" => "4",
432  "CMD_INFO_MSG" => "4",
433  "CMD_INFO_ROWID" => "4",
434  "CMD_INFO_SELTYPE" => "4",
435  "CMD_INFO_SHIFT" => "4",
436  "CMD_INFO_STATUS" => "4",
437  "CMD_INFO_TASK_SWITCH" => "4",
438  "CMD_INFO_TOOLBTN" => "4",
439  "CMD_INFO_WIN" => "4",
440  "CMD_INFO_X" => "4",
441  "CMD_INFO_X2" => "4",
442  "CMD_INFO_XCMD" => "4",
443  "CMD_INFO_Y" => "4",
444  "CMD_INFO_Y2" => "4",
445  "COL_INFO_DECPLACES" => "4",
446  "COL_INFO_EDITABLE" => "4",
447  "COL_INFO_INDEXED" => "4",
448  "COL_INFO_NAME" => "4",
449  "COL_INFO_NUM" => "4",
450  "COL_INFO_TYPE" => "4",
451  "COL_INFO_WIDTH" => "4",
452  "COL_TYPE_CHAR" => "4",
453  "COL_TYPE_DATE" => "4",
454  "COL_TYPE_DECIMAL" => "4",
455  "COL_TYPE_FLOAT" => "4",
456  "COL_TYPE_GRAPHIC" => "4",
457  "COL_TYPE_INTEGER" => "4",
458  "COL_TYPE_LOGICAL" => "4",
459  "COL_TYPE_SMALLINT" => "4",
460  "DEG_2_RAD" => "4",
461  "DM_CUSTOM_CIRCLE" => "4",
462  "DM_CUSTOM_ELLIPSE" => "4",
463  "DM_CUSTOM_RECT" => "4",
464  "DM_CUSTOM_LINE" => "4",
465  "DM_CUSTOM_POINT" => "4",
466  "DM_CUSTOM_POLYGON" => "4",
467  "DM_CUSTOM_POLYLINE" => "4",
468  "ERR_BAD_WINDOW" => "4",
469  "ERR_BAD_WINDOW_NUM" => "4",
470  "ERR_CANT_ACCESS_FILE" => "4",
471  "ERR_CANT_INITIATE_LINK" => "4",
472  "ERR_CMD_NOT_SUPPORTED" => "4",
473  "ERR_FCN_ARG_RANGE" => "4",
474  "ERR_FCN_INVALID_FMT" => "4",
475  "ERR_FCN_OBJ_FETCH_FAILED" => "4",
476  "ERR_FILEMGR_NOTOPEN" => "4",
477  "ERR_FP_MATH_LIB_DOMAIN" => "4",
478  "ERR_FP_MATH_LIB_RANGE" => "4",
479  "ERR_INVALID_CHANNEL" => "4",
480  "ERR_INVALID_READ_CONTROL" => "4",
481  "ERR_INVALID_TRIG_CONTROL" => "4",
482  "ERR_NO_FIELD" => "4",
483  "ERR_NO_RESPONSE_FROM_APP" => "4",
484  "ERR_NULL_SELECTION" => "4",
485  "ERR_PROCESS_FAILED_IN_APP" => "4",
486  "ERR_TABLE_NOT_FOUND" => "4",
487  "ERR_WANT_MAPPER_WIN" => "4",
488  "FALSE" => "4",
489  "FILE_ATTR_FILESIZE" => "4",
490  "FILE_ATTR_MODE" => "4",
491  "FONT_BACKCOLOR" => "4",
492  "FONT_FORECOLOR" => "4",
493  "FONT_NAME" => "4",
494  "FONT_POINTSIZE" => "4",
495  "FONT_STYLE" => "4",
496  "GREEN" => "4",
497  "INCL_ALL" => "4",
498  "INCL_COMMON" => "4",
499  "INCL_CROSSINGS" => "4",
500  "LAYER_INFO_ARROWS" => "4",
501  "LAYER_INFO_CENTROIDS" => "4",
502  "LAYER_INFO_COSMETIC" => "4",
503  "LAYER_INFO_DISPLAY" => "4",
504  "LAYER_INFO_DISPLAY_GLOBAL" => "4",
505  "LAYER_INFO_DISPLAY_GRAPHIC" => "4",
506  "LAYER_INFO_DISPLAY_OFF" => "4",
507  "LAYER_INFO_DISPLAY_VALUE" => "4",
508  "LAYER_INFO_EDITABLE" => "4",
509  "LAYER_INFO_LBL_AUTODISPLAY" => "4",
510  "LAYER_INFO_LBL_CURFONT" => "4",
511  "LAYER_INFO_LBL_DUPLICATES" => "4",
512  "LAYER_INFO_LBL_EXPR" => "4",
513  "LAYER_INFO_LBL_FONT" => "4",
514  "LAYER_INFO_LBL_LT" => "4",
515  "LAYER_INFO_LBL_LT_ARROW" => "4",
516  "LAYER_INFO_LBL_LT_NONE" => "4",
517  "LAYER_INFO_LBL_LT_SIMPLE" => "4",
518  "LAYER_INFO_LBL_MAX" => "4",
519  "LAYER_INFO_LBL_OFFSET" => "4",
520  "LAYER_INFO_LBL_OVERLAP" => "4",
521  "LAYER_INFO_LBL_PARALLEL" => "4",
522  "LAYER_INFO_LBL_POS" => "4",
523  "LAYER_INFO_LBL_POS_BC" => "4",
524  "LAYER_INFO_LBL_POS_BL" => "4",
525  "LAYER_INFO_LBL_POS_BR" => "4",
526  "LAYER_INFO_LBL_POS_CC" => "4",
527  "LAYER_INFO_LBL_POS_CL" => "4",
528  "LAYER_INFO_LBL_POS_CR" => "4",
529  "LAYER_INFO_LBL_POS_TC" => "4",
530  "LAYER_INFO_LBL_POS_TL" => "4",
531  "LAYER_INFO_LBL_POS_TR" => "4",
532  "LAYER_INFO_LBL_VISIBILITY" => "4",
533  "LAYER_INFO_LBL_VIS_OFF" => "4",
534  "LAYER_INFO_LBL_VIS_ON" => "4",
535  "LAYER_INFO_LBL_VIS_ZOOM" => "4",
536  "LAYER_INFO_LBL_ZOOM_MAX" => "4",
537  "LAYER_INFO_LBL_ZOOM_MIN" => "4",
538  "LAYER_INFO_NAME" => "4",
539  "LAYER_INFO_NODES" => "4",
540  "LAYER_INFO_OVR_BRUSH" => "4",
541  "LAYER_INFO_OVR_FONT" => "4",
542  "LAYER_INFO_OVR_LINE" => "4",
543  "LAYER_INFO_OVR_PEN" => "4",
544  "LAYER_INFO_OVR_SYMBOL" => "4",
545  "LAYER_INFO_PATH" => "4",
546  "LAYER_INFO_SELECTABLE" => "4",
547  "LAYER_INFO_TYPE" => "4",
548  "LAYER_INFO_TYPE_COSMETIC" => "4",
549  "LAYER_INFO_TYPE_IMAGE" => "4",
550  "LAYER_INFO_TYPE_NORMAL" => "4",
551  "LAYER_INFO_TYPE_THEMATIC" => "4",
552  "LAYER_INFO_ZOOM_LAYERED" => "4",
553  "LAYER_INFO_ZOOM_MAX" => "4",
554  "LAYER_INFO_ZOOM_MIN" => "4",
555  "MAGENTA" => "4",
556  "MAPPER_INFO_MAXX" => "4",
557  "MAPPER_INFO_MAXY" => "4",
558  "MAPPER_INFO_MINX" => "4",
559  "MAPPER_INFO_MINY" => "4",
560  "MAPPER_INFO_NUM_THEMATIC" => "4",
561  "MAPPER_INFO_AREAUNITS" => "4",
562  "MAPPER_INFO_CENTERX" => "4",
563  "MAPPER_INFO_CENTERY" => "4",
564  "MAPPER_INFO_COORDSYS_CLAUSE" => "4",
565  "MAPPER_INFO_COORDSYS_NAME" => "4",
566  "MAPPER_INFO_DISPLAY" => "4",
567  "MAPPER_INFO_DISPLAY_POSITION" => "4",
568  "MAPPER_INFO_DISPLAY_SCALE" => "4",
569  "MAPPER_INFO_DISPLAY_ZOOM" => "4",
570  "MAPPER_INFO_DISTUNITS" => "4",
571  "MAPPER_INFO_EDIT_LAYER" => "4",
572  "MAPPER_INFO_LAYERS" => "4",
573  "MAPPER_INFO_SCALE" => "4",
574  "MAPPER_INFO_SCROLLBARS" => "4",
575  "MAPPER_INFO_XYUNITS" => "4",
576  "MAPPER_INFO_ZOOM" => "4",
577  "MENUITEM_INFO_ACCELERATOR" => "4",
578  "MENUITEM_INFO_CHECKABLE" => "4",
579  "MENUITEM_INFO_CHECKED" => "4",
580  "MENUITEM_INFO_ENABLED" => "4",
581  "MENUITEM_INFO_HANDLER" => "4",
582  "MENUITEM_INFO_HELPMSG" => "4",
583  "MENUITEM_INFO_ID" => "4",
584  "MENUITEM_INFO_SHOWHIDEABLE" => "4",
585  "MENUITEM_INFO_TEXT" => "4",
586  "MIPLATFORM_HP" => "4",
587  "MIPLATFORM_MAC68K" => "4",
588  "MIPLATFORM_POWERMAC" => "4",
589  "MIPLATFORM_SPECIAL" => "4",
590  "MIPLATFORM_SUN" => "4",
591  "MIPLATFORM_WIN16" => "4",
592  "MIPLATFORM_WIN32" => "4",
593  "MODE_APPEND" => "4",
594  "MODE_BINARY" => "4",
595  "MODE_INPUT" => "4",
596  "MODE_OUTPUT" => "4",
597  "MODE_RANDOM" => "4",
598  "MI_CURSOR_ARROW" => "4",
599  "MI_CURSOR_IBEAM" => "4",
600  "MI_CURSOR_FINGER_LEFT" => "4",
601  "MI_CURSOR_ZOOM_IN" => "4",
602  "MI_CURSOR_ZOOM_OUT" => "4",
603  "MI_CURSOR_DRAG_OBJ" => "4",
604  "MI_CURSOR_GRABBER" => "4",
605  "MI_CURSOR_CHANGE_WIDTH" => "4",
606  "MI_CURSOR_FINGER_UP" => "4",
607  "MI_CURSOR_IBEAM_CROSS" => "4",
608  "MI_CURSOR_CROSSHAIR" => "4",
609  "MI_ICON_ADD_NODE" => "4",
610  "MI_ICON_ARC" => "4",
611  "MI_ICON_ARROW" => "4",
612  "MI_ICON_CLIP_MODE" => "4",
613  "MI_ICON_CLIP_REGION" => "4",
614  "MI_ICON_COPY" => "4",
615  "MI_ICON_CROSSHAIR" => "4",
616  "MI_ICON_CUT" => "4",
617  "MI_ICON_DISTRICT_MANY" => "4",
618  "MI_ICON_DISTRICT_SAME" => "4",
619  "MI_ICON_DRAG_HANDLE" => "4",
620  "MI_ICON_ELLIPSE" => "4",
621  "MI_ICON_GRABBER" => "4",
622  "MI_ICON_HELP" => "4",
623  "MI_ICON_INFO" => "4",
624  "MI_ICON_LABEL" => "4",
625  "MI_ICON_LAYERS" => "4",
626  "MI_ICON_LEGEND" => "4",
627  "MI_ICON_LINE" => "4",
628  "MI_ICON_LINE_STYLE" => "4",
629  "MI_ICON_NEW_DOC" => "4",
630  "MI_ICON_OPEN_FILE" => "4",
631  "MI_ICON_PASTE" => "4",
632  "MI_ICON_POLYGON" => "4",
633  "MI_ICON_POLYLINE" => "4",
634  "MI_ICON_PRINT" => "4",
635  "MI_ICON_RECT" => "4",
636  "MI_ICON_REGION_STYLE" => "4",
637  "MI_ICON_RESHAPE" => "4",
638  "MI_ICON_ROUND_RECT" => "4",
639  "MI_ICON_RULER" => "4",
640  "MI_ICON_RUN" => "4",
641  "MI_ICON_SAVE_FILE" => "4",
642  "MI_ICON_SEARCH_BDY" => "4",
643  "MI_ICON_SEARCH_RADIUS" => "4",
644  "MI_ICON_SEARCH_RECT" => "4",
645  "MI_ICON_STATISTICS" => "4",
646  "MI_ICON_SYMBOL" => "4",
647  "MI_ICON_SYMBOL_STYLE" => "4",
648  "MI_ICON_TEXT" => "4",
649  "MI_ICON_TEXT_STYLE" => "4",
650  "MI_ICON_UNDO" => "4",
651  "MI_ICON_WINDOW_FRAME" => "4",
652  "MI_ICON_WRENCH" => "4",
653  "MI_ICON_ZOOM_IN" => "4",
654  "MI_ICON_ZOOM_OUT" => "4",
655  "MI_ICON_ZOOM_QUESTION" => "4",
656  "M_ANALYZE_CALC_STATISTICS" => "4",
657  "M_ANALYZE_FIND" => "4",
658  "M_ANALYZE_FIND_SELECTION" => "4",
659  "M_ANALYZE_SELECT" => "4",
660  "M_ANALYZE_SELECTALL" => "4",
661  "M_ANALYZE_SQLQUERY" => "4",
662  "M_ANALYZE_UNSELECT" => "4",
663  "M_BROWSE_OPTIONS" => "4",
664  "M_BROWSE_PICK_FIELDS" => "4",
665  "M_EDIT_CLEAR" => "4",
666  "M_EDIT_CLEAROBJ" => "4",
667  "M_EDIT_COPY" => "4",
668  "M_EDIT_CUT" => "4",
669  "M_EDIT_GETINFO" => "4",
670  "M_EDIT_NEW_ROW" => "4",
671  "M_EDIT_PASTE" => "4",
672  "M_EDIT_PREFERENCES" => "4",
673  "M_EDIT_PREFERENCES_COUNTRY" => "4",
674  "M_EDIT_PREFERENCES_FILE" => "4",
675  "M_EDIT_PREFERENCES_MAP" => "4",
676  "M_EDIT_PREFERENCES_PATH" => "4",
677  "M_EDIT_PREFERENCES_SYSTEM" => "4",
678  "M_EDIT_RESHAPE" => "4",
679  "M_EDIT_UNDO" => "4",
680  "M_FILE_ADD_WORKSPACE" => "4",
681  "M_FILE_CLOSE" => "4",
682  "M_FILE_CLOSE_ALL" => "4",
683  "M_FILE_EXIT" => "4",
684  "M_FILE_NEW" => "4",
685  "M_FILE_OPEN" => "4",
686  "M_FILE_OPEN_ODBC" => "4",
687  "M_FILE_PAGE_SETUP" => "4",
688  "M_FILE_PRINT" => "4",
689  "M_FILE_REVERT" => "4",
690  "M_FILE_RUN" => "4",
691  "M_FILE_SAVE" => "4",
692  "M_FILE_SAVE_COPY_AS" => "4",
693  "M_FILE_SAVE_WINDOW_AS" => "4",
694  "M_FILE_SAVE_WORKSPACE" => "4",
695  "M_FORMAT_CUSTOM_COLORS" => "4",
696  "M_FORMAT_PICK_FILL" => "4",
697  "M_FORMAT_PICK_FONT" => "4",
698  "M_FORMAT_PICK_LINE" => "4",
699  "M_FORMAT_PICK_SYMBOL" => "4",
700  "M_GRAPH_LABEL_AXIS" => "4",
701  "M_GRAPH_SERIES" => "4",
702  "M_GRAPH_TYPE" => "4",
703  "M_GRAPH_VALUE_AXIS" => "4",
704  "M_HELP_ABOUT" => "4",
705  "M_HELP_CONNECT_MIFORUM" => "4",
706  "M_HELP_CONTENTS" => "4",
707  "M_HELP_CONTEXTSENSITIVE" => "4",
708  "M_HELP_HELPMODE" => "4",
709  "M_HELP_SEARCH" => "4",
710  "M_HELP_TECHSUPPORT" => "4",
711  "M_HELP_USE_HELP" => "4",
712  "M_LAYOUT_ACTUAL" => "4",
713  "M_LAYOUT_ALIGN" => "4",
714  "M_LAYOUT_BRING2FRONT" => "4",
715  "M_LAYOUT_CHANGE_VIEW" => "4",
716  "M_LAYOUT_DISPLAYOPTIONS" => "4",
717  "M_LAYOUT_DROBeautifierADOWS" => "4",
718  "M_LAYOUT_ENTIRE" => "4",
719  "M_LAYOUT_PREVIOUS" => "4",
720  "M_LAYOUT_SEND2BACK" => "4",
721  "M_MAPBASIC_CLEAR" => "4",
722  "M_MAPBASIC_SAVECONTENTS" => "4",
723  "M_MAP_CHANGE_VIEW" => "4",
724  "M_MAP_CLEAR_COSMETIC" => "4",
725  "M_MAP_CLEAR_CUSTOM_LABELS" => "4",
726  "M_MAP_CLIP_REGION_ONOFF" => "4",
727  "M_MAP_CLONE_MAPPER" => "4",
728  "M_MAP_ENTIRE_LAYER" => "4",
729  "M_MAP_LAYER_CONTROL" => "4",
730  "M_MAP_MODIFY_THEMATIC" => "4",
731  "M_MAP_OPTIONS" => "4",
732  "M_MAP_PREVIOUS" => "4",
733  "M_MAP_SAVE_COSMETIC" => "4",
734  "M_MAP_SETUPDIGITIZER" => "4",
735  "M_MAP_SET_CLIP_REGION" => "4",
736  "M_MAP_THEMATIC" => "4",
737  "M_OBJECTS_BUFFER" => "4",
738  "M_OBJECTS_CLEAR_TARGET" => "4",
739  "M_OBJECTS_COMBINE" => "4",
740  "M_OBJECTS_CVT_PGON" => "4",
741  "M_OBJECTS_CVT_PLINE" => "4",
742  "M_OBJECTS_ERASE" => "4",
743  "M_OBJECTS_ERASE_OUT" => "4",
744  "M_OBJECTS_OVERLAY" => "4",
745  "M_OBJECTS_SET_TARGET" => "4",
746  "M_OBJECTS_SMOOTH" => "4",
747  "M_OBJECTS_SPLIT" => "4",
748  "M_OBJECTS_UNSMOOTH" => "4",
749  "M_QUERY_CALC_STATISTICS" => "4",
750  "M_QUERY_FIND" => "4",
751  "M_QUERY_FIND_SELECTION" => "4",
752  "M_QUERY_SELECT" => "4",
753  "M_QUERY_SELECTALL" => "4",
754  "M_QUERY_SQLQUERY" => "4",
755  "M_QUERY_UNSELECT" => "4",
756  "M_REDISTRICT_ADD" => "4",
757  "M_REDISTRICT_ASSIGN" => "4",
758  "M_REDISTRICT_DELETE" => "4",
759  "M_REDISTRICT_OPTIONS" => "4",
760  "M_REDISTRICT_TARGET" => "4",
761  "M_SENDMAIL_CURRENTWINDOW" => "4",
762  "M_SENDMAIL_WORKSPACE" => "4",
763  "M_TABLE_APPEND" => "4",
764  "M_TABLE_CHANGESYMBOL" => "4",
765  "M_TABLE_CREATE_POINTS" => "4",
766  "M_TABLE_DELETE" => "4",
767  "M_TABLE_EXPORT" => "4",
768  "M_TABLE_GEOCODE" => "4",
769  "M_TABLE_IMPORT" => "4",
770  "M_TABLE_MAKEMAPPABLE" => "4",
771  "M_TABLE_MERGE_USING_COLUMN" => "4",
772  "M_TABLE_MODIFY_STRUCTURE" => "4",
773  "M_TABLE_PACK" => "4",
774  "M_TABLE_RASTER_REG" => "4",
775  "M_TABLE_RASTER_STYLE" => "4",
776  "M_TABLE_REFRESH" => "4",
777  "M_TABLE_RENAME" => "4",
778  "M_TABLE_UNLINK" => "4",
779  "M_TABLE_UPDATE_COLUMN" => "4",
780  "M_TOOLS_ADD_NODE" => "4",
781  "M_TOOLS_ARC" => "4",
782  "M_TOOLS_DRAGWINDOW" => "4",
783  "M_TOOLS_ELLIPSE" => "4",
784  "M_TOOLS_EXPAND" => "4",
785  "M_TOOLS_FRAME" => "4",
786  "M_TOOLS_LABELER" => "4",
787  "M_TOOLS_LINE" => "4",
788  "M_TOOLS_MAPBASIC" => "4",
789  "M_TOOLS_PNT_QUERY" => "4",
790  "M_TOOLS_POINT" => "4",
791  "M_TOOLS_POLYGON" => "4",
792  "M_TOOLS_POLYLINE" => "4",
793  "M_TOOLS_RASTER_REG" => "4",
794  "M_TOOLS_RECENTER" => "4",
795  "M_TOOLS_RECTANGLE" => "4",
796  "M_TOOLS_ROUNDEDRECT" => "4",
797  "M_TOOLS_RULER" => "4",
798  "M_TOOLS_SEARCH_BOUNDARY" => "4",
799  "M_TOOLS_SEARCH_POLYGON" => "4",
800  "M_TOOLS_SEARCH_RADIUS" => "4",
801  "M_TOOLS_SEARCH_RECT" => "4",
802  "M_TOOLS_SELECTOR" => "4",
803  "M_TOOLS_SHRINK" => "4",
804  "M_TOOLS_TEXT" => "4",
805  "M_WINDOW_ARRANGEICONS" => "4",
806  "M_WINDOW_BROWSE" => "4",
807  "M_WINDOW_BUTTONPAD" => "4",
808  "M_WINDOW_CASCADE" => "4",
809  "M_WINDOW_FIRST" => "4",
810  "M_WINDOW_GRAPH" => "4",
811  "M_WINDOW_LAYOUT" => "4",
812  "M_WINDOW_LEGEND" => "4",
813  "M_WINDOW_MAP" => "4",
814  "M_WINDOW_MAPBASIC" => "4",
815  "M_WINDOW_MORE" => "4",
816  "M_WINDOW_REDISTRICT" => "4",
817  "M_WINDOW_REDRAW" => "4",
818  "M_WINDOW_STATISTICS" => "4",
819  "M_WINDOW_STATUSBAR" => "4",
820  "M_WINDOW_TILE" => "4",
821  "OBJ_GEO_ARCBEGANGLE" => "4",
822  "OBJ_GEO_ARCENDANGLE" => "4",
823  "OBJ_GEO_LINEBEGX" => "4",
824  "OBJ_GEO_LINEBEGY" => "4",
825  "OBJ_GEO_LINEENDX" => "4",
826  "OBJ_GEO_LINEENDY" => "4",
827  "OBJ_GEO_MAXX" => "4",
828  "OBJ_GEO_MAXY" => "4",
829  "OBJ_GEO_MINX" => "4",
830  "OBJ_GEO_MINY" => "4",
831  "OBJ_GEO_POINTX" => "4",
832  "OBJ_GEO_POINTY" => "4",
833  "OBJ_GEO_ROUNDRADIUS" => "4",
834  "OBJ_GEO_TEXTANGLE" => "4",
835  "OBJ_GEO_TEXTLINEX" => "4",
836  "OBJ_GEO_TEXTLINEY" => "4",
837  "OBJ_INFO_BRUSH" => "4",
838  "OBJ_INFO_FILLFRAME" => "4",
839  "OBJ_INFO_FRAMETITLE" => "4",
840  "OBJ_INFO_FRAMEWIN" => "4",
841  "OBJ_INFO_NPNTS" => "4",
842  "OBJ_INFO_NPOLYGONS" => "4",
843  "OBJ_INFO_PEN" => "4",
844  "OBJ_INFO_SMOOTH" => "4",
845  "OBJ_INFO_SYMBOL" => "4",
846  "OBJ_INFO_TEXTARROW" => "4",
847  "OBJ_INFO_TEXTFONT" => "4",
848  "OBJ_INFO_TEXTJUSTIFY" => "4",
849  "OBJ_INFO_TEXTSPACING" => "4",
850  "OBJ_INFO_TEXTSTRING" => "4",
851  "OBJ_INFO_TYPE" => "4",
852  "OBJ_TYPE_ARC" => "4",
853  "OBJ_TYPE_ELLIPSE" => "4",
854  "OBJ_TYPE_FRAME" => "4",
855  "OBJ_TYPE_LINE" => "4",
856  "OBJ_TYPE_PLINE" => "4",
857  "OBJ_TYPE_POINT" => "4",
858  "OBJ_TYPE_RECT" => "4",
859  "OBJ_TYPE_REGION" => "4",
860  "OBJ_TYPE_ROUNDRECT" => "4",
861  "OBJ_TYPE_TEXT" => "4",
862  "PEN_COLOR" => "4",
863  "PEN_PATTERN" => "4",
864  "PEN_WIDTH" => "4",
865  "PLATFORM_MAC" => "4",
866  "PLATFORM_MOTIF" => "4",
867  "PLATFORM_SPECIAL" => "4",
868  "PLATFORM_WIN" => "4",
869  "PLATFORM_X11" => "4",
870  "PLATFORM_XOL" => "4",
871  "RAD_2_DEG" => "4",
872  "RED" => "4",
873  "SEARCH_INFO_ROW" => "4",
874  "SEARCH_INFO_TABLE" => "4",
875  "SEL_INFO_NROWS" => "4",
876  "SEL_INFO_SELNAME" => "4",
877  "SEL_INFO_TABLENAME" => "4",
878  "SRV_COL_INFO_ALIAS" => "4",
879  "SRV_COL_INFO_NAME" => "4",
880  "SRV_COL_INFO_PRECISION" => "4",
881  "SRV_COL_INFO_SCALE" => "4",
882  "SRV_COL_INFO_STATUS" => "4",
883  "SRV_COL_INFO_TYPE" => "4",
884  "SRV_COL_INFO_VALUE" => "4",
885  "SRV_COL_INFO_WIDTH" => "4",
886  "SRV_COL_TYPE_BIN_STRING" => "4",
887  "SRV_COL_TYPE_CHAR" => "4",
888  "SRV_COL_TYPE_DATE" => "4",
889  "SRV_COL_TYPE_DECIMAL" => "4",
890  "SRV_COL_TYPE_FIXED_LEN_STRING" => "4",
891  "SRV_COL_TYPE_FLOAT" => "4",
892  "SRV_COL_TYPE_INTEGER" => "4",
893  "SRV_COL_TYPE_LOGICAL" => "4",
894  "SRV_COL_TYPE_NONE" => "4",
895  "SRV_COL_TYPE_SMALLINT" => "4",
896  "SRV_DRV_DATA_SOURCE" => "4",
897  "SRV_DRV_INFO_NAME" => "4",
898  "SRV_DRV_INFO_NAME_LIST" => "4",
899  "SRV_ERROR" => "4",
900  "SRV_FETCH_FIRST" => "4",
901  "SRV_FETCH_LAST" => "4",
902  "SRV_FETCH_NEXT" => "4",
903  "SRV_FETCH_PREV" => "4",
904  "SRV_INVALID_HANDLE" => "4",
905  "SRV_NEED_DATA" => "4",
906  "SRV_NO_MORE_DATA" => "4",
907  "SRV_NULL_DATA" => "4",
908  "SRV_SUCCESS" => "4",
909  "SRV_SUCCESS_WITH_INFO" => "4",
910  "SRV_TRUNCATED_DATA" => "4",
911  "STR_EQ" => "4",
912  "STR_GT" => "4",
913  "STR_LT" => "4",
914  "SWITCHING_INTO_MAPINFO" => "4",
915  "SWITCHING_OUT_OF_MAPINFO" => "4",
916  "SYMBOL_ANGLE" => "4",
917  "SYMBOL_CODE" => "4",
918  "SYMBOL_COLOR" => "4",
919  "SYMBOL_CUSTOM_NAME" => "4",
920  "SYMBOL_CUSTOM_STYLE" => "4",
921  "SYMBOL_FONT_NAME" => "4",
922  "SYMBOL_FONT_STYLE" => "4",
923  "SYMBOL_KIND" => "4",
924  "SYMBOL_KIND_CUSTOM" => "4",
925  "SYMBOL_KIND_FONT" => "4",
926  "SYMBOL_KIND_VECTOR" => "4",
927  "SYMBOL_POINTSIZE" => "4",
928  "SYS_INFO_APPLICATIONWND" => "4",
929  "SYS_INFO_APPVERSION" => "4",
930  "SYS_INFO_CHARSET" => "4",
931  "SYS_INFO_COPYPROTECTED" => "4",
932  "SYS_INFO_DATE_FORMAT" => "4",
933  "SYS_INFO_DDESTATUS" => "4",
934  "SYS_INFO_DIG_INSTALLED" => "4",
935  "SYS_INFO_DIG_MODE" => "4",
936  "SYS_INFO_MAPINFOWND" => "4",
937  "SYS_INFO_MDICLIENTWND" => "4",
938  "SYS_INFO_MIPLATFORM" => "4",
939  "SYS_INFO_MIVERSION" => "4",
940  "SYS_INFO_NUMBER_FORMAT" => "4",
941  "SYS_INFO_PLATFORM" => "4",
942  "SYS_INFO_PRODUCTLEVEL" => "4",
943  "SYS_INFO_RUNTIME" => "4",
944  "TAB_INFO_NAME" => "4",
945  "TAB_INFO_NCOLS" => "4",
946  "TAB_INFO_NREFS" => "4",
947  "TAB_INFO_NROWS" => "4",
948  "TAB_INFO_NUM" => "4",
949  "TAB_INFO_READONLY" => "4",
950  "TAB_INFO_SEAMLESS" => "4",
951  "TAB_INFO_TABFILE" => "4",
952  "TAB_INFO_TEMP" => "4",
953  "TAB_INFO_TYPE" => "4",
954  "TAB_INFO_UNDO" => "4",
955  "TAB_INFO_USERBROWSE" => "4",
956  "TAB_INFO_USERCLOSE" => "4",
957  "TAB_INFO_USERDISPLAYMAP" => "4",
958  "TAB_INFO_USEREDITABLE" => "4",
959  "TAB_INFO_USERMAP" => "4",
960  "TAB_INFO_USERREMOVEMAP" => "4",
961  "TAB_TYPE_BASE" => "4",
962  "TAB_TYPE_IMAGE" => "4",
963  "TAB_TYPE_LINKED" => "4",
964  "TAB_TYPE_RESULT" => "4",
965  "TAB_TYPE_VIEW" => "4",
966  "TRUE" => "4",
967  "TAB_INFO_COORDSYS_CLAUSE" => "4",
968  "TAB_INFO_COORDSYS_MAXX" => "4",
969  "TAB_INFO_COORDSYS_MAXY" => "4",
970  "TAB_INFO_COORDSYS_MINX" => "4",
971  "TAB_INFO_COORDSYS_MINY" => "4",
972  "TAB_INFO_COORDSYS_NAME" => "4",
973  "TAB_INFO_EDITED" => "4",
974  "TAB_INFO_FASTEDIT" => "4",
975  "TAB_INFO_MAPPABLE" => "4",
976  "TAB_INFO_MAPPABLE_TABLE" => "4",
977  "TAB_INFO_MAXX" => "4",
978  "TAB_INFO_MAXY" => "4",
979  "TAB_INFO_MINX" => "4",
980  "TAB_INFO_MINY" => "4",
981  "WHITE" => "4",
982  "WIN_BROWSER" => "4",
983  "WIN_BUTTONPAD" => "4",
984  "WIN_GRAPH" => "4",
985  "WIN_HELP" => "4",
986  "WIN_INFO" => "4",
987  "WIN_INFO_AUTOSCROLL" => "4",
988  "WIN_INFO_CLONEWINDOW" => "4",
989  "WIN_INFO_HEIGHT" => "4",
990  "WIN_INFO_LEGENDS_MAP" => "4",
991  "WIN_INFO_NAME" => "4",
992  "WIN_INFO_OPEN" => "4",
993  "WIN_INFO_STATE" => "4",
994  "WIN_INFO_SYSMENUCLOSE" => "4",
995  "WIN_INFO_TABLE" => "4",
996  "WIN_INFO_TOPMOST" => "4",
997  "WIN_INFO_TYPE" => "4",
998  "WIN_INFO_WIDTH" => "4",
999  "WIN_INFO_WINDOWID" => "4",
1000  "WIN_INFO_WND" => "4",
1001  "WIN_INFO_WORKSPACE" => "4",
1002  "WIN_INFO_X" => "4",
1003  "WIN_INFO_Y" => "4",
1004  "WIN_LAYOUT" => "4",
1005  "WIN_LEGEND" => "4",
1006  "WIN_MAPBASIC" => "4",
1007  "WIN_MAPINFO" => "4",
1008  "WIN_MAPPER" => "4",
1009  "WIN_MESSAGE" => "4",
1010  "WIN_PENPICKER" => "4",
1011  "WIN_RULER" => "4",
1012  "WIN_STATE_MAXIMIZED" => "4",
1013  "WIN_STATE_MINIMIZED" => "4",
1014  "WIN_STATE_NORMAL" => "4",
1015  "WIN_STATISTICS" => "4",
1016  "WIN_STYLE_CHILD" => "4",
1017  "WIN_STYLE_POPUP" => "4",
1018  "WIN_STYLE_POPUP_FULLCAPTION" => "4",
1019  "WIN_STYLE_STANDARD" => "4",
1020  "WIN_SYMBOLPICKER" => "4",
1021  "WIN_TOOLBAR" => "4",
1022  "WIN_TOOLPICKER" => "4",
1023  "YELLOW" => "4",
1024  "AND" => "5",
1025  "Contains" => "5",
1026  "Entire" => "5",
1027  "Entirely" => "5",
1028  "Intersects" => "5",
1029  "Mod" => "5",
1030  "NOT" => "5",
1031  "OR" => "5",
1032  "Part" => "5",
1033  "Partly" => "5",
1034  "Within" => "5",
1035  "+" => "5",
1036  "-" => "5",
1037  "*" => "5",
1038  "/" => "5",
1039  "^" => "5",
1040  "&" => "5",
1041  "\\" => "5",
1042  "(" => "5",
1043  ")" => "5",
1044  "<" => "5",
1045  ">" => "5",
1046  "," => "5",
1047  "=" => "5");
1048 
1049 // Special extensions
1050 
1051 // Each category can specify a PHP function that returns an altered
1052 // version of the keyword.
1053 
1054 
1055 
1056 $this->linkscripts = array(
1057  "1" => "donothing",
1058  "3" => "donothing",
1059  "2" => "donothing",
1060  "4" => "donothing",
1061  "5" => "donothing");
1062 }
1063 
1064 
1065 function donothing($keywordin)
1066 {
1067  return $keywordin;
1068 }
1069 
1070 }?>