<reponame>nyalldawson/mbclean<filename>mblanguage.py
statements = ['Adornment',
              'Add',
              'All',
              'Alter',
              'Application',
              'Arc',
              'Area',
              'AutoLabel',
              'Bar',
              'Beep',
              'Begin',
              'Bind',
              'Browse',
              'ButtonPad',
              'ButtonPads',
              'Call',
              'Cartographic',
              'Case',
              'Check',
              'Clean',
              'Close',
              'Collection',
              'Column',
              'Combine',
              'Command',
              'Commit',
              'Connection',
              'Continue',
              'Control',
              'CoordSys',
              'Create',
              'Cutter',
              'Date',
              'Datum',
              'DDEExecute',
              'DDEPoke',
              'DDETerminate',
              'DDETerminateAll',
              'Declare',
              'Default',
              'Define',
              'Delete',
              'Dialog',
              'Digitizer',
              'Dim',
              'Disaggregate',
              'Disconnect',
              'Do',
              'Document',
              'Drag',
              'Drop',
              'Ellipse',
              'Enclose',
              'End',
              'Erase',
              'Error',
              'Event',
              'Exit',
              'Export',
              'Farthest',
              'Fetch',
              'Find',
              'FME',
              'For',
              'Format',
              'Frame',
              'Function',
              'Geocode',
              'Get',
              'Global',
              'Goto',
              'Graph',
              'Grid',
              'Handler',
              'If',
              'Else',
              'ElseIf',
              'Import',
              'Include',
              'Index',
              'Info',
              'Input',
              'Insert',
              'Intersect',
              'Isogram',
              'Item',
              'Kill',
              'Layout',
              'Legend',
              'Line',
              'Link',
              'Loop',
              'Map',
              'Map3D',
              'MapInfo',
              'MapInfoDialog',
              'Menu',
              'Merge',
              'Metadata',
              'Method',
              'Move',
              'MultiPoint',
              'MWS',
              'Nearest',
              'Next',
              'Note',
              'Object',
              'Objects',
              'Offset',
              'OnError',
              'Open',
              'Overlay',
              'Pack',
              'Paper',
              'Pline',
              'Point',
              'Preserve',
              'Print',
              'PrintWin',
              'PrismMap',
              'Processing',
              'Program',
              'ProgressBar',
              'ProgressBars',
              'Put',
              'Randomize',
              'Ranges',
              'Rect',
              'ReDim',
              'Redistricter',
              'Refresh',
              'Region',
              'Register',
              'Relief',
              'Reload',
              'Remove',
              'Rename',
              'Report',
              'Reproject',
              'Resolution',
              'Resume',
              'Rollback',
              'RoundRect',
              'Run',
              'Save',
              'Seek',
              'Select',
              'Server',
              'Set',
              'Shade',
              'Snap',
              'Split',
              'StatusBar',
              'Stop',
              'Style',
              'Styles',
              'Sub',
              'Symbols',
              'Table',
              'Target',
              'Terminate',
              'Text',
              'Then',
              'Threshold',
              'Timeout',
              'Transaction',
              'Transform',
              'Type',
              'UnDim',
              'Units',
              'Unlink',
              'Update',
              'Using',
              'Version',
              'Versioning',
              'Wend',
              'WFS',
              'While',
              'Workspace',
              'Write']

functions = ['ApplicationName$',
             'CoordSysStringToEPSG',
             'CoordSysStringToPRJ$',
             'CoordSysStringToWKT$',
             'GetPreferencePath$',
             'GroupLayerInfo',
             'LabelOverrideInfo',
             'LayerControlInfo',
             'LayerControlSelectionInfo',
             'LayerListInfo',
             'LayerStyleInfo',
             'PointToUSNG$',
             'StyleOverrideInfo',
             'TableListInfo',
             'TableListSelectionInfo',
             'USNGToPoint',
             'Abs',
             'Acos',
             'ApplicationDirectory$',
             'Area',
             'AreaOverlap',
             'Asc',
             'Asin',
             'Ask',
             'Atn',
             'Buffer',
             'ButtonPadInfo',
             'CartesianArea',
             'CartesianBuffer',
             'CartesianConnectObjects',
             'CartesianDistance',
             'CartesianObjectDistance',
             'CartesianObjectLen',
             'CartesianOffset',
             'CartesianOffsetXY',
             'CartesianPerimeter',
             'Centroid',
             'CentroidX',
             'CentroidY',
             'ChooseProjection$',
             'Chr$',
             'ColumnInfo',
             'Combine',
             'CommandInfo',
             'ConnectObjects',
             'ConvertToPline',
             'ConvertToRegion',
             'ConvexHull',
             'CoordSysName$',
             'Cos',
             'CreateCircle',
             'CreateLine',
             'CreatePoint',
             'CreateText',
             'CurDate',
             'CurDateTime',
             'CurrentBorderPen',
             'CurrentBrush',
             'CurrentFont',
             'CurrentLinePen',
             'CurrentPen',
             'CurrentSymbol',
             'CurTime',
             'DateWindow',
             'Day',
             'DDEInitiate',
             'DDERequest$',
             'DeformatNumber$',
             'Distance',
             'EOF',
             'EOT',
             'EPSGToCoordSysString$',
             'Erase',
             'Err',
             'Error$',
             'Exp',
             'ExtractNodes',
             'FileAttr',
             'FileExists',
             'FileOpenDlg',
             'FileSaveAsDlg',
             'Fix',
             'Format$',
             'FormatDate$',
             'FormatNumber$',
             'FormatTime$',
             'FrontWindow',
             'GeocodeInfo',
             'GetDate',
             'GetFolderPath$',
             'GetMetadata$',
             'GetSeamlessSheet',
             'GetTime',
             'HomeDirectory$',
             'HotlinkInfo',
             'Hour',
             'InStr',
             'Int',
             'IntersectNodes',
             'IsogramInfo',
             'IsPenWidthPixels',
             'LabelFindByID',
             'LabelFindFirst',
             'LabelFindNext',
             'LabelInfo',
             'LayerInfo',
             'LCase$',
             'Left$',
             'LegendFrameInfo',
             'LegendInfo',
             'LegendStyleInfo',
             'Len',
             'Like',
             'LocateFile$',
             'LOF',
             'Log',
             'LTrim$',
             'MakeBrush',
             'MakeCustomSymbol',
             'MakeDateTime',
             'MakeFont',
             'MakeFontSymbol',
             'MakePen',
             'MakeSymbol',
             'Map3DInfo',
             'MapperInfo',
             'Maximum',
             'MBR',
             'MenuItemInfoByHandler',
             'MenuItemInfoByID',
             'MGRSToPoint',
             'Mid$',
             'MidByte$',
             'Minimum',
             'Minute',
             'Month',
             'NumAllWindows',
             'NumberToDate',
             'NumberToDateTime',
             'NumberToTime',
             'NumCols',
             'NumTables',
             'NumWindows',
             'ObjectDistance',
             'ObjectGeography',
             'ObjectInfo',
             'ObjectLen',
             'ObjectNodeHasM',
             'ObjectNodeHasZ',
             'ObjectNodeM',
             'ObjectNodeX',
             'ObjectNodeY',
             'ObjectNodeZ',
             'Offset',
             'OffsetXY',
             'Overlap',
             'OverlayNodes',
             'PathToDirectory$',
             'PathToFileName$',
             'PathToTableName$',
             'PenWidthToPoints',
             'Perimeter',
             'PointsToPenWidth',
             'PointToMGRS$',
             'PrismMapInfo',
             'ProgramDirectory$',
             'Proper$',
             'ProportionOverlap',
             'RegionInfo',
             'ReadControlValue',
             'RemoteQueryHandler',
             'Rgb',
             'Right$',
             'Rnd',
             'Rotate',
             'RotateAtPoint',
             'Round',
             'RTrim$',
             'SearchInfo',
             'SearchPoint',
             'SearchRect',
             'Second',
             'Seek',
             'SelectionInfo',
             'Server_ColumnInfo',
             'Server_Connect',
             'Server_ConnectInfo',
             'Server_DriverInfo',
             'Server_EOT',
             'Server_Execute',
             'Server_GetODBCHConn',
             'Server_GetODBCHStmt',
             'Server_NumCols',
             'Server_NumDrivers',
             'SessionInfo',
             'Sgn',
             'Sin',
             'Space$',
             'SphericalArea',
             'SphericalConnectObjects',
             'SphericalDistance',
             'SphericalObjectDistance',
             'SphericalObjectLen',
             'SphericalOffset',
             'SphericalOffsetXY',
             'SphericalPerimeter',
             'Sqr',
             'Str$',
             'String$',
             'StringCompare',
             'StringCompareIntl',
             'StringToDate',
             'StringToDateTime',
             'StringToTime',
             'StyleAttr',
             'SystemInfo',
             'TableInfo',
             'Tan',
             'TempFileName$',
             'TextSize',
             'Time',
             'Timer',
             'TriggerControl',
             'TrueFileName$',
             'UBound',
             'UCase$',
             'UnitAbbr$',
             'UnitName$',
             'Val',
             'Weekday',
             'WindowID',
             'WindowInfo',
             'Year',
             'MICreateSession',
             'MICreateSessionFull',
             'MIErrorDlg',
             'MIFindFtpFile',
             'MIFindNextFtpFile',
             'MIGetContent',
             'MIGetContentBuffer',
             'MIGetContentLen',
             'MIGetContentString',
             'MIGetContentToFile',
             'MIGetContentType',
             'MIGetCurrentFtpDirectory',
             'MIGetErrorCode',
             'MIGetErrorMessage',
             'MIGetFileURL',
             'MIGetFtpConnection',
             'MIGetFtpFile',
             'MIGetFtpFileFind',
             'MIGetHttpConnection',
             'MIIsFtpDirectory',
             'MIIsFtpDots',
             'MIOpenRequest',
             'MIOpenRequestFull',
             'MIParseURL',
             'MIPutFtpFile',
             'MIQueryInfo',
             'MIQueryInfoStatusCode',
             'MISaveContent',
             'MISendRequest',
             'MISendSimpleRequest',
             'MISetCurrentFtpDirectory',
             'MISetSessionTimeout',
             'MIXmlDocumentCreate',
             'MIXmlDocumentGetNamespaces',
             'MIXmlDocumentGetRootNode',
             'MIXmlDocumentLoad',
             'MIXmlDocumentLoadXML',
             'MIXmlDocumentLoadXMLString',
             'MIXmlDocumentSetProperty',
             'MIXmlGetAttributeList',
             'MIXmlGetChildList',
             'MIXmlGetNextAttribute',
             'MIXmlGetNextNode',
             'MIXmlNodeGetAttributeValue',
             'MIXmlNodeGetFirstChild',
             'MIXmlNodeGetName',
             'MIXmlNodeGetParent',
             'MIXmlNodeGetText',
             'MIXmlNodeGetValue',
             'MIXmlSCGetLength',
             'MIXmlSCGetNamespace',
             'MIXmlSelectNodes',
             'MIXmlSelectSingleNode',
             'EndHandler',
             'ForegroundTaskSwitchHandler',
             'Main',
             'RemoteMapGenHandler',
             'RemoteMsgHandler',
             'SelChangedHandler',
             'ToolHandler',
             'WinChangedHandler',
             'WinClosedHandler',
             'WinFocusChangedHandler',
             'MICloseContent',
             'MICloseFtpConnection',
             'MICloseFtpFileFind',
             'MICloseHttpConnection',
             'MICloseHttpFile',
             'MICloseSession',
             'MIGetFtpFileName',
             'MIXmlAttributeListDestroy',
             'MIXmlDocumentDestroy',
             'MIXmlNodeDestroy',
             'MIXmlNodeListDestroy',
             'MIXmlSCDestroy',
             'ControlPointInfo',
             'GetGridCellValue',
             'GridTableInfo',
             'IsGridCellNull',
             'RasterTableInfo']

keywords = ['M_FILE_OPEN_BING_AERIAL',
            'M_FILE_OPEN_BING_HYBRID',
            'M_FILE_PRINT_TO_PDF',
            'M_HELP_MAPINFO_PRODUCT_FEEDBACK',
            'M_HELP_MAPINFO_RETURN_LICENSE',
            'M_HELP_MAPINFO_BORROW_LICENSE',
            'M_HELP_MAPINFO_RETURN_BORROWED_LICENSE',
            'M_MAP_LAYER_CONTROL_DIALOG',
            'M_MAP_CREATE_SCALEBAR',
            'M_MAP_VIEW_ENTIRE_SELECTION',
            'M_MAP_SELECT_ALL_FROM_SELECTION',
            'M_MAP_MAKE_SELECTION_EDITABLE',
            'M_ADORNMENT_PROPERTIES',
            'M_ADORNMENT_REMOVE',
            'M_LC_VIEW_ENTIRE',
            'M_LC_LAYER_PROPERTIES',
            'M_LC_LABEL_FONT',
            'M_LC_OTHERS_NO_SELECT',
            'M_LC_RENAME_MAP',
            'M_LC_MAP_OPTIONS',
            'M_LC_ADD_GROUP',
            'M_LC_RENAME_GROUP',
            'M_LC_UNGROUP',
            'M_LC_ADDLAYERS',
            'M_LC_ADD_STYLE_OVERRIDE',
            'M_LC_ADD_LABEL_OVERRIDE',
            'M_LC_DISPLAY_OVERRIDE_PROP',
            'M_LC_LABEL_OVERRIDE_PROP',
            'M_LC_SPLIT_OVERRIDE',
            'M_LC_REMOVE_OVERRIDE',
            'M_LC_BROWSE_TABLE',
            'M_TLV_SELECT_ALL_FROM_TABLE',
            'M_TLV_BROWSE_TABLE',
            'M_TLV_OPEN_NEW_MAP',
            'M_TLV_EXPORT_TABLE',
            'M_TLV_REFRESH_TABLE',
            'M_TLV_TABLE_STRUCTURE',
            'M_TLV_CREATE_POINTS',
            'M_TLV_UPDATE_COLUMN',
            'M_TLV_CLOSE_TABLE',
            'M_FILE',
            'M_EDIT',
            'M_SEARCH',
            'M_QUERY',
            'M_PGM',
            'M_TOOLS',
            'M_OPTIONS',
            'M_WINDOW',
            'M_HELP',
            'M_BROWSE',
            'M_MAP',
            'M_LAYOUT',
            'M_MAPBASIC',
            'M_REDISTRICT',
            'M_OBJECTS',
            'M_TABLE',
            'M_SHORTCUT_DFLT',
            'M_SHORTCUT_MAPPER',
            'M_SHORTCUT_BROWSER',
            'M_SHORTCUT_LAYOUT',
            'M_SHORTCUT_CMD',
            'M_SHORTCUT_REDISTRICTER',
            'M_SHORTCUT_LEGEND',
            'M_SHORTCUT_GRAPHTDG',
            'M_SHORTCUT_3DMAP',
            'M_SHORTCUT_MSG_WIN',
            'M_SHORTCUT_STAT_WIN',
            'M_3DMAP',
            'M_GRAPHTDG',
            'M_LEGEND',
            'M_SHORTCUT_ADORNMENT',
            'M_SHORTCUT_LC_LAYERS',
            'M_SHORTCUT_LC_MAPS',
            'M_SHORTCUT_LC_GROUPS',
            'M_SHORTCUT_TABLEADORNMENT',
            'M_SHORTCUT_TLV_TABLES',
            'M_SHORTCUT_LC_OVERRIDES',
            'M_OPEN_WEBSERVICE',
            'M_FIND_SELECTION',
            'M_ORACLE_TOOLS',
            'M_TAB_MAINTENANCE',
            'M_TAB_RASTER',
            'M_LICENSING',
            'TB_MAIN',
            'TB_DRAWING',
            'TB_TOOLS',
            'TB_STANDARD',
            'TB_ODBC',
            'TB_WEB_SVCS',
            'BTNPAD_INFO_DOCK_POSITION',
            'BBTNPAD_INFO_DOCK_NONE',
            'BTNPAD_INFO_DOCK_LEFT',
            'BTNPAD_INFO_DOCK_TOP',
            'BTNPAD_INFO_DOCK_RIGHT',
            'BTNPAD_INFO_DOCK_BOTTOM',
            'PREFERENCE_PATH_TABLE',
            'PREFERENCE_PATH_WORKSPACE',
            'PREFERENCE_PATH_MBX',
            'PREFERENCE_PATH_IMPORT',
            'PREFERENCE_PATH_SQLQUERY',
            'PREFERENCE_PATH_THEMETHEMPLATE',
            'PREFERENCE_PATH_MIQUERY',
            'PREFERENCE_PATH_NEWGRID',
            'PREFERENCE_PATH_CRYSTAL',
            'PREFERENCE_PATH_GRAPHSUPPORT',
            'PREFERENCE_PATH_REMOTETABLE',
            'PREFERENCE_PATH_WFSTABLE',
            'PREFERENCE_PATH_WMSTABLE',
            'GROUPLAYER_INFO_NAME',
            'GROUPLAYER_INFO_LAYERLIST_ID',
            'GROUPLAYER_INFO_DISPLAY',
            'GROUPLAYER_INFO_LAYERS',
            'GROUPLAYER_INFO_ALL_LAYERS',
            'GROUPLAYER_INFO_TOPLEVEL_LAYERS',
            'GROUPLAYER_INFO_PARENT_GROUP_ID',
            'GROUPLAYER_INFO_DISPLAY_OFF',
            'GROUPLAYER_INFO_DISPLAY_ON',
            'LAYERLIST_INFO_TYPE',
            'LAYERLIST_INFO_NAME',
            'LAYERLIST_INFO_LAYER_ID',
            'LAYERLIST_INFO_GROUPLAYER_ID',
            'LAYERLIST_INFO_TYPE_LAYER',
            'LAYERLIST_INFO_TYPE_GROUP',
            'LAYER_INFO_LAYERLIST_ID',
            'LAYER_INFO_PARENT_GROUP_ID',
            'LAYER_INFO_OVR_STYLE_COUNT',
            'LAYER_INFO_OVR_LBL_COUNT',
            'LAYER_INFO_OVR_STYLE_CURRENT',
            'LAYER_INFO_OVR_LBL_CURRENT',
            'LAYER_INFO_OVR_LINE_COUNT',
            'LAYER_INFO_OVR_PEN_COUNT',
            'LAYER_INFO_OVR_BRUSH_COUNT',
            'LAYER_INFO_OVR_SYMBOL_COUNT',
            'LAYER_INFO_OVR_FONT_COUNT',
            'LAYER_INFO_TYPE_TILESERVER',
            'STYLE_OVR_INFO_NAME',
            'STYLE_OVR_INFO_VISIBILITY',
            'STYLE_OVR_INFO_ZOOM_MIN',
            'STYLE_OVR_INFO_ZOOM_MAX',
            'STYLE_OVR_INFO_ARROWS',
            'STYLE_OVR_INFO_NODES',
            'STYLE_OVR_INFO_CENTROIDS',
            'STYLE_OVR_INFO_ALPHA',
            'STYLE_OVR_INFO_TRANSLUCENCY',
            'STYLE_OVR_INFO_LINE',
            'STYLE_OVR_INFO_PEN',
            'STYLE_OVR_INFO_BRUSH',
            'STYLE_OVR_INFO_SYMBOL',
            'STYLE_OVR_INFO_FONT',
            'STYLE_OVR_INFO_SYMBOL_COUNT',
            'STYLE_OVR_INFO_LINE_COUNT',
            'STYLE_OVR_INFO_PEN_COUNT',
            'STYLE_OVR_INFO_BRUSH_COUNT',
            'STYLE_OVR_INFO_FONT_COUNT',
            'STYLE_OVR_INFO_VIS_OFF',
            'STYLE_OVR_INFO_VIS_ON',
            'STYLE_OVR_INFO_VIS_OFF_ZOOM',
            'LBL_OVR_INFO_NAME',
            'LBL_OVR_INFO_VISIBILITY',
            'LBL_OVR_INFO_ZOOM_MIN',
            'LBL_OVR_INFO_ZOOM_MAX',
            'LBL_OVR_INFO_EXPR',
            'LBL_OVR_INFO_LT',
            'LBL_OVR_INFO_FONT',
            'LBL_OVR_INFO_PARALLEL',
            'LBL_OVR_INFO_POS',
            'LBL_OVR_INFO_OVERLAP',
            'LBL_OVR_INFO_DUPLICATES',
            'LBL_OVR_INFO_OFFSET',
            'LBL_OVR_INFO_MAX',
            'LBL_OVR_INFO_PARTIALSEGS',
            'LBL_OVR_INFO_ORIENTATION',
            'LBL_OVR_INFO_ALPHA',
            'LBL_OVR_INFO_AUTODISPLAY',
            'LBL_OVR_INFO_POS_RETRY',
            'LBL_OVR_INFO_LINE_PEN',
            'LBL_OVR_INFO_PERCENT_OVER',
            'LBL_OVR_INFO_VIS_OFF',
            'LBL_OVR_INFO_VIS_ON',
            'LBL_OVR_INFO_VIS_OFF_ZOOM',
            'LC_INFO_SEL_COUNT',
            'LC_SEL_INFO_NAME',
            'LC_SEL_INFO_TYPE',
            'LC_SEL_INFO_MAPWIN_ID',
            'LC_SEL_INFO_LAYER_ID',
            'LC_SEL_INFO_OVR_ID',
            'LC_SEL_INFO_TYPE_MAP',
            'LC_SEL_INFO_TYPE_LAYER',
            'LC_SEL_INFO_TYPE_GROUPLAYER',
            'LC_SEL_INFO_TYPE_STYLE_OVR',
            'LC_SEL_INFO_TYPE_LABEL_OVR',
            'HOTLINK_INFO_ALIAS',
            'MAPPER_INFO_ALL_LAYERS',
            'MAPPER_INFO_GROUPLAYERS',
            'MAPPER_INFO_NUM_ADORNMENTS',
            'MAPPER_INFO_ADORNMENT',
            'MAPPER_INFO_DISPLAY_USNG_WGS84',
            'MAPPER_INFO_DISPLAY_USNG_NAD27',
            'TAB_INFO_DESCRIPTION',
            'TAB_TYPE_TILESERVER',
            'TL_INFO_SEL_COUNT',
            'TL_SEL_INFO_NAME',
            'TL_SEL_INFO_ID',
            'WIN_INFO_ADORNEMNTS_MAP',
            'WIN_ADORNMENT',
            'ADORNMENT_INFO_MAP_POS_TL',
            'ADORNMENT_INFO_MAP_POS_TC',
            'ADORNMENT_INFO_MAP_POS_TR',
            'ADORNMENT_INFO_MAP_POS_CL',
            'ADORNMENT_INFO_MAP_POS_CC',
            'ADORNMENT_INFO_MAP_POS_CR',
            'ADORNMENT_INFO_MAP_POS_BL',
            'ADORNMENT_INFO_MAP_POS_BC',
            'ADORNMENT_INFO_MAP_POS_BR',
            'SCALEBAR_INFO_BARTYPE_CHECKEDBAR',
            'SCALEBAR_INFO_BARTYPE_SOLIDBAR',
            'SCALEBAR_INFO_BARTYPE_LINEBAR',
            'SCALEBAR_INFO_BARTYPE_TICKBAR',
            'DATUMID_NAD27',
            'DATUMID_NAD83',
            'DATUMID_WGS84',
            'CLS',
            'TRUE',
            'FALSE',
            'DEG_2_RAD',
            'RAD_2_DEG',
            'SECONDS_PER_DAY',
            'BLACK',
            'WHITE',
            'RED',
            'GREEN',
            'BLUE',
            'CYAN',
            'MAGENTA',
            'YELLOW',
            'MAX_STRING_LENGTH',
            'BTNPAD_INFO_FLOATING',
            'BTNPAD_INFO_WIDTH',
            'BTNPAD_INFO_NBTNS',
            'BTNPAD_INFO_X',
            'BTNPAD_INFO_Y',
            'BTNPAD_INFO_WINID',
            'COL_INFO_NAME',
            'COL_INFO_NUM',
            'COL_INFO_TYPE',
            'COL_INFO_WIDTH',
            'COL_INFO_DECPLACES',
            'COL_INFO_INDEXED',
            'COL_INFO_EDITABLE',
            'COL_TYPE_CHAR',
            'COL_TYPE_DECIMAL',
            'COL_TYPE_INTEGER',
            'COL_TYPE_SMALLINT',
            'COL_TYPE_DATE',
            'COL_TYPE_LOGICAL',
            'COL_TYPE_GRAPHIC',
            'COL_TYPE_FLOAT',
            'COL_TYPE_TIME',
            'COL_TYPE_DATETIME',
            'CMD_INFO_X',
            'CMD_INFO_Y',
            'CMD_INFO_SHIFT',
            'CMD_INFO_CTRL',
            'CMD_INFO_X2',
            'CMD_INFO_Y2',
            'CMD_INFO_TOOLBTN',
            'CMD_INFO_MENUITEM',
            'CMD_INFO_WIN',
            'CMD_INFO_SELTYPE',
            'CMD_INFO_ROWID',
            'CMD_INFO_INTERRUPT',
            'CMD_INFO_STATUS',
            'CMD_INFO_MSG',
            'CMD_INFO_DLG_OK',
            'CMD_INFO_DLG_DBL',
            'CMD_INFO_FIND_RC',
            'CMD_INFO_FIND_ROWID',
            'CMD_INFO_XCMD',
            'CMD_INFO_CUSTOM_OBJ',
            'CMD_INFO_TASK_SWITCH',
            'CMD_INFO_EDIT_TABLE',
            'CMD_INFO_EDIT_STATUS',
            'CMD_INFO_EDIT_ASK',
            'CMD_INFO_EDIT_SAVE',
            'CMD_INFO_EDIT_DISCARD',
            'CMD_INFO_HL_WINDOW_ID',
            'CMD_INFO_HL_TABLE_NAME',
            'CMD_INFO_HL_ROWID',
            'CMD_INFO_HL_LAYER_ID',
            'CMD_INFO_HL_FILE_NAME',
            'SWITCHING_OUT_OF_MAPINFO',
            'SWITCHING_INTO_MAPINFO',
            'DATE_WIN_SESSION',
            'DATE_WIN_CURPROG',
            'FILE_ATTR_MODE',
            'FILE_ATTR_FILESIZE',
            'MODE_INPUT',
            'MODE_OUTPUT',
            'MODE_APPEND',
            'MODE_RANDOM',
            'MODE_BINARY',
            'FOLDER_MI_APPDATA',
            'FOLDER_MI_LOCAL_APPDATA',
            'FOLDER_MI_PREFERENCE',
            'FOLDER_MI_COMMON_APPDATA',
            'FOLDER_APPDATA',
            'FOLDER_LOCAL_APPDATA',
            'FOLDER_COMMON_APPDATA',
            'FOLDER_COMMON_DOCS',
            'FOLDER_MYDOCS',
            'FOLDER_MYPICS',
            'INCL_CROSSINGS',
            'INCL_COMMON',
            'INCL_ALL',
            'LABEL_INFO_OBJECT',
            'LABEL_INFO_POSITION',
            'LABEL_INFO_ANCHORX',
            'LABEL_INFO_ANCHORY',
            'LABEL_INFO_OFFSET',
            'LABEL_INFO_ROWID',
            'LABEL_INFO_TABLE',
            'LABEL_INFO_EDIT',
            'LABEL_INFO_EDIT_VISIBILITY',
            'LABEL_INFO_EDIT_ANCHOR',
            'LABEL_INFO_EDIT_OFFSET',
            'LABEL_INFO_EDIT_FONT',
            'LABEL_INFO_EDIT_PEN',
            'LABEL_INFO_EDIT_TEXT',
            'LABEL_INFO_EDIT_TEXTARROW',
            'LABEL_INFO_EDIT_ANGLE',
            'LABEL_INFO_EDIT_POSITION',
            'LABEL_INFO_EDIT_TEXTLINE',
            'LABEL_INFO_SELECT',
            'LABEL_INFO_DRAWN',
            'LABEL_INFO_ORIENTATION',
            'LAYER_INFO_NAME',
            'LAYER_INFO_EDITABLE',
            'LAYER_INFO_SELECTABLE',
            'LAYER_INFO_ZOOM_LAYERED',
            'LAYER_INFO_ZOOM_MIN',
            'LAYER_INFO_ZOOM_MAX',
            'LAYER_INFO_COSMETIC',
            'LAYER_INFO_PATH',
            'LAYER_INFO_DISPLAY',
            'LAYER_INFO_OVR_LINE',
            'LAYER_INFO_OVR_PEN',
            'LAYER_INFO_OVR_BRUSH',
            'LAYER_INFO_OVR_SYMBOL',
            'LAYER_INFO_OVR_FONT',
            'LAYER_INFO_LBL_EXPR',
            'LAYER_INFO_LBL_LT',
            'LAYER_INFO_LBL_CURFONT',
            'LAYER_INFO_LBL_FONT',
            'LAYER_INFO_LBL_PARALLEL',
            'LAYER_INFO_LBL_POS',
            'LAYER_INFO_ARROWS',
            'LAYER_INFO_NODES',
            'LAYER_INFO_CENTROIDS',
            'LAYER_INFO_TYPE',
            'LAYER_INFO_LBL_VISIBILITY',
            'LAYER_INFO_LBL_ZOOM_MIN',
            'LAYER_INFO_LBL_ZOOM_MAX',
            'LAYER_INFO_LBL_AUTODISPLAY',
            'LAYER_INFO_LBL_OVERLAP',
            'LAYER_INFO_LBL_DUPLICATES',
            'LAYER_INFO_LBL_OFFSET',
            'LAYER_INFO_LBL_MAX',
            'LAYER_INFO_LBL_PARTIALSEGS',
            'LAYER_INFO_HOTLINK_EXPR',
            'LAYER_INFO_HOTLINK_MODE',
            'LAYER_INFO_HOTLINK_RELATIVE',
            'LAYER_INFO_HOTLINK_COUNT',
            'LAYER_INFO_LBL_ORIENTATION',
            'LAYER_INFO_LABEL_ORIENT_HORIZONTAL',
            'LAYER_INFO_LABEL_ORIENT_PARALLEL',
            'LAYER_INFO_LABEL_ORIENT_CURVED',
            'LAYER_INFO_DISPLAY_OFF',
            'LAYER_INFO_DISPLAY_GRAPHIC',
            'LAYER_INFO_DISPLAY_GLOBAL',
            'LAYER_INFO_DISPLAY_VALUE',
            'LAYER_INFO_LBL_LT_NONE',
            'LAYER_INFO_LBL_LT_SIMPLE',
            'LAYER_INFO_LBL_LT_ARROW',
            'LAYER_INFO_LBL_POS_CC',
            'LAYER_INFO_LBL_POS_TL',
            'LAYER_INFO_LBL_POS_TC',
            'LAYER_INFO_LBL_POS_TR',
            'LAYER_INFO_LBL_POS_CL',
            'LAYER_INFO_LBL_POS_CR',
            'LAYER_INFO_LBL_POS_BL',
            'LAYER_INFO_LBL_POS_BC',
            'LAYER_INFO_LBL_POS_BR',
            'LAYER_INFO_TYPE_NORMAL',
            'LAYER_INFO_TYPE_COSMETIC',
            'LAYER_INFO_TYPE_IMAGE',
            'LAYER_INFO_TYPE_THEMATIC',
            'LAYER_INFO_TYPE_GRID',
            'LAYER_INFO_TYPE_WMS',
            'LAYER_INFO_LBL_VIS_OFF',
            'LAYER_INFO_LBL_VIS_ZOOM',
            'LAYER_INFO_LBL_VIS_ON',
            'HOTLINK_INFO_EXPR',
            'HOTLINK_INFO_MODE',
            'HOTLINK_INFO_RELATIVE',
            'HOTLINK_INFO_ENABLED',
            'HOTLINK_MODE_LABEL',
            'HOTLINK_MODE_OBJ',
            'HOTLINK_MODE_BOTH',
            'LEGEND_INFO_MAP_ID',
            'LEGEND_INFO_ORIENTATION',
            'LEGEND_INFO_NUM_FRAMES',
            'LEGEND_INFO_STYLE_SAMPLE_SIZE',
            'ORIENTATION_PORTRAIT',
            'ORIENTATION_LANDSCAPE',
            'ORIENTATION_CUSTOM',
            'STYLE_SAMPLE_SIZE_SMALL',
            'STYLE_SAMPLE_SIZE_LARGE',
            'FRAME_INFO_TYPE',
            'FRAME_INFO_MAP_LAYER_ID',
            'FRAME_INFO_REFRESHABLE',
            'FRAME_INFO_POS_X',
            'FRAME_INFO_POS_Y',
            'FRAME_INFO_WIDTH',
            'FRAME_INFO_HEIGHT',
            'FRAME_INFO_TITLE',
            'FRAME_INFO_TITLE_FONT',
            'FRAME_INFO_SUBTITLE',
            'FRAME_INFO_SUBTITLE_FONT',
            'FRAME_INFO_BORDER_PEN',
            'FRAME_INFO_NUM_STYLES',
            'FRAME_INFO_VISIBLE',
            'FRAME_INFO_COLUMN',
            'FRAME_INFO_LABEL',
            'FRAME_TYPE_STYLE',
            'FRAME_TYPE_THEME',
            'GEOCODE_STREET_NAME',
            'GEOCODE_STREET_NUMBER',
            'GEOCODE_MUNICIPALITY',
            'GEOCODE_MUNICIPALITY2',
            'GEOCODE_COUNTRY_SUBDIVISION',
            'GEOCODE_COUNTRY_SUBDIVISION2',
            'GEOCODE_POSTAL_CODE',
            'GEOCODE_DICTIONARY',
            'GEOCODE_BATCH_SIZE',
            'GEOCODE_FALLBACK_GEOGRAPHIC',
            'GEOCODE_FALLBACK_POSTAL',
            'GEOCODE_OFFSET_CENTER',
            'GEOCODE_OFFSET_CENTER_UNITS',
            'GEOCODE_OFFSET_END',
            'GEOCODE_OFFSET_END_UNITS',
            'GEOCODE_MIXED_CASE',
            'GEOCODE_RESULT_MARK_MULTIPLE',
            'GEOCODE_COUNT_GEOCODED',
            'GEOCODE_COUNT_NOTGEOCODED',
            'GEOCODE_UNABLE_TO_CONVERT_DATA',
            'GEOCODE_MAX_BATCH_SIZE',
            'GEOCODE_PASSTHROUGH',
            'DICTIONARY_ALL',
            'DICTIONARY_ADDRESS_ONLY',
            'DICTIONARY_USER_ONLY',
            'DICTIONARY_PREFER_ADDRESS',
            'DICTIONARY_PREFER_USER',
            'ISOGRAM_BANDING',
            'ISOGRAM_MAJOR_ROADS_ONLY',
            'ISOGRAM_RETURN_HOLES',
            'ISOGRAM_MAJOR_POLYGON_ONLY',
            'ISOGRAM_MAX_OFFROAD_DIST',
            'ISOGRAM_MAX_OFFROAD_DIST_UNITS',
            'ISOGRAM_SIMPLIFICATION_FACTOR',
            'ISOGRAM_DEFAULT_AMBIENT_SPEED',
            'ISOGRAM_AMBIENT_SPEED_DIST_UNIT',
            'ISOGRAM_AMBIENT_SPEED_TIME_UNIT',
            'ISOGRAM_PROPAGATION_FACTOR',
            'ISOGRAM_BATCH_SIZE',
            'ISOGRAM_POINTS_ONLY',
            'ISOGRAM_RECORDS_INSERTED',
            'ISOGRAM_RECORDS_NOTINSERTED',
            'ISOGRAM_MAX_BATCH_SIZE',
            'ISOGRAM_MAX_BANDS',
            'ISOGRAM_MAX_DISTANCE',
            'ISOGRAM_MAX_DISTANCE_UNITS',
            'ISOGRAM_MAX_TIME',
            'ISOGRAM_MAX_TIME_UNITS',
            'LEGEND_STYLE_INFO_TEXT',
            'LEGEND_STYLE_INFO_FONT',
            'LEGEND_STYLE_INFO_OBJ',
            'LOCATE_PREF_FILE',
            'LOCATE_DEF_WOR',
            'LOCATE_CLR_FILE',
            'LOCATE_PEN_FILE',
            'LOCATE_FNT_FILE',
            'LOCATE_ABB_FILE',
            'LOCATE_PRJ_FILE',
            'LOCATE_MNU_FILE',
            'LOCATE_CUSTSYMB_DIR',
            'LOCATE_THMTMPLT_DIR',
            'LOCATE_GRAPH_DIR',
            'LOCATE_WMS_SERVERLIST',
            'LOCATE_WFS_SERVERLIST',
            'LOCATE_GEOCODE_SERVERLIST',
            'LOCATE_ROUTING_SERVERLIST',
            'LOCATE_LAYOUT_TEMPLATE_DIR',
            'MAP3D_INFO_SCALE',
            'MAP3D_INFO_RESOLUTION_X',
            'MAP3D_INFO_RESOLUTION_Y',
            'MAP3D_INFO_BACKGROUND',
            'MAP3D_INFO_UNITS',
            'MAP3D_INFO_LIGHT_X',
            'MAP3D_INFO_LIGHT_Y',
            'MAP3D_INFO_LIGHT_Z',
            'MAP3D_INFO_LIGHT_COLOR',
            'MAP3D_INFO_CAMERA_X',
            'MAP3D_INFO_CAMERA_Y',
            'MAP3D_INFO_CAMERA_Z',
            'MAP3D_INFO_CAMERA_FOCAL_X',
            'MAP3D_INFO_CAMERA_FOCAL_Y',
            'MAP3D_INFO_CAMERA_FOCAL_Z',
            'MAP3D_INFO_CAMERA_VU_1',
            'MAP3D_INFO_CAMERA_VU_2',
            'MAP3D_INFO_CAMERA_VU_3',
            'MAP3D_INFO_CAMERA_VPN_1',
            'MAP3D_INFO_CAMERA_VPN_2',
            'MAP3D_INFO_CAMERA_VPN_3',
            'MAP3D_INFO_CAMERA_CLIP_NEAR',
            'MAP3D_INFO_CAMERA_CLIP_FAR',
            'MAPPER_INFO_ZOOM',
            'MAPPER_INFO_SCALE',
            'MAPPER_INFO_CENTERX',
            'MAPPER_INFO_CENTERY',
            'MAPPER_INFO_MINX',
            'MAPPER_INFO_MINY',
            'MAPPER_INFO_MAXX',
            'MAPPER_INFO_MAXY',
            'MAPPER_INFO_LAYERS',
            'MAPPER_INFO_EDIT_LAYER',
            'MAPPER_INFO_XYUNITS',
            'MAPPER_INFO_DISTUNITS',
            'MAPPER_INFO_AREAUNITS',
            'MAPPER_INFO_SCROLLBARS',
            'MAPPER_INFO_DISPLAY',
            'MAPPER_INFO_NUM_THEMATIC',
            'MAPPER_INFO_COORDSYS_CLAUSE',
            'MAPPER_INFO_COORDSYS_NAME',
            'MAPPER_INFO_MOVE_DUPLICATE_NODES',
            'MAPPER_INFO_DIST_CALC_TYPE',
            'MAPPER_INFO_DISPLAY_DMS',
            'MAPPER_INFO_COORDSYS_CLAUSE_WITH_BOUNDS',
            'MAPPER_INFO_CLIP_TYPE',
            'MAPPER_INFO_CLIP_REGION',
            'MAPPER_INFO_REPROJECTION',
            'MAPPER_INFO_RESAMPLING',
            'MAPPER_INFO_MERGE_MAP',
            'MAPPER_INFO_DISPLAY_DECIMAL',
            'MAPPER_INFO_DISPLAY_DEGMINSEC',
            'MAPPER_INFO_DISPLAY_MGRS',
            'MAPPER_INFO_DISPLAY_SCALE',
            'MAPPER_INFO_DISPLAY_ZOOM',
            'MAPPER_INFO_DISPLAY_POSITION',
            'MAPPER_INFO_DIST_SPHERICAL',
            'MAPPER_INFO_DIST_CARTESIAN',
            'MAPPER_INFO_CLIP_DISPLAY_ALL',
            'MAPPER_INFO_CLIP_DISPLAY_POLYOBJ',
            'MAPPER_INFO_CLIP_OVERLAY',
            'MENUITEM_INFO_ENABLED',
            'MENUITEM_INFO_CHECKED',
            'MENUITEM_INFO_CHECKABLE',
            'MENUITEM_INFO_SHOWHIDEABLE',
            'MENUITEM_INFO_ACCELERATOR',
            'MENUITEM_INFO_TEXT',
            'MENUITEM_INFO_HELPMSG',
            'MENUITEM_INFO_HANDLER',
            'MENUITEM_INFO_ID',
            'OBJ_GEO_MINX',
            'OBJ_GEO_LINEBEGX',
            'OBJ_GEO_POINTX',
            'OBJ_GEO_MINY',
            'OBJ_GEO_LINEBEGY',
            'OBJ_GEO_POINTY',
            'OBJ_GEO_MAXX',
            'OBJ_GEO_LINEENDX',
            'OBJ_GEO_MAXY',
            'OBJ_GEO_LINEENDY',
            'OBJ_GEO_ARCBEGANGLE',
            'OBJ_GEO_TEXTLINEX',
            'OBJ_GEO_ROUNDRADIUS',
            'OBJ_GEO_CENTROID',
            'OBJ_GEO_ARCENDANGLE',
            'OBJ_GEO_TEXTLINEY',
            'OBJ_GEO_TEXTANGLE',
            'OBJ_GEO_POINTZ',
            'OBJ_GEO_POINTM',
            'OBJ_INFO_TYPE',
            'OBJ_INFO_PEN',
            'OBJ_INFO_SYMBOL',
            'OBJ_INFO_TEXTFONT',
            'OBJ_INFO_BRUSH',
            'OBJ_INFO_NPNTS',
            'OBJ_INFO_TEXTSTRING',
            'OBJ_INFO_SMOOTH',
            'OBJ_INFO_FRAMEWIN',
            'OBJ_INFO_NPOLYGONS',
            'OBJ_INFO_TEXTSPACING',
            'OBJ_INFO_TEXTJUSTIFY',
            'OBJ_INFO_FRAMETITLE',
            'OBJ_INFO_TEXTARROW',
            'OBJ_INFO_FILLFRAME',
            'OBJ_INFO_REGION',
            'OBJ_INFO_PLINE',
            'OBJ_INFO_MPOINT',
            'OBJ_INFO_NONEMPTY',
            'OBJ_INFO_Z_UNIT_SET',
            'OBJ_INFO_Z_UNIT',
            'OBJ_INFO_HAS_Z',
            'OBJ_INFO_HAS_M',
            'OBJ_TYPE_ARC',
            'OBJ_TYPE_ELLIPSE',
            'OBJ_TYPE_LINE',
            'OBJ_TYPE_PLINE',
            'OBJ_TYPE_POINT',
            'OBJ_TYPE_FRAME',
            'OBJ_TYPE_REGION',
            'OBJ_TYPE_RECT',
            'OBJ_TYPE_ROUNDRECT',
            'OBJ_TYPE_TEXT',
            'OBJ_TYPE_MPOINT',
            'OBJ_TYPE_COLLECTION',
            'REGION_INFO_IS_CLOCKWISE',
            'PRISMMAP_INFO_SCALE',
            'PRISMMAP_INFO_BACKGROUND',
            'PRISMMAP_INFO_LIGHT_X',
            'PRISMMAP_INFO_LIGHT_Y',
            'PRISMMAP_INFO_LIGHT_Z',
            'PRISMMAP_INFO_LIGHT_COLOR',
            'PRISMMAP_INFO_CAMERA_X',
            'PRISMMAP_INFO_CAMERA_Y',
            'PRISMMAP_INFO_CAMERA_Z',
            'PRISMMAP_INFO_CAMERA_FOCAL_X',
            'PRISMMAP_INFO_CAMERA_FOCAL_Y',
            'PRISMMAP_INFO_CAMERA_FOCAL_Z',
            'PRISMMAP_INFO_CAMERA_VU_1',
            'PRISMMAP_INFO_CAMERA_VU_2',
            'PRISMMAP_INFO_CAMERA_VU_3',
            'PRISMMAP_INFO_CAMERA_VPN_1',
            'PRISMMAP_INFO_CAMERA_VPN_2',
            'PRISMMAP_INFO_CAMERA_VPN_3',
            'PRISMMAP_INFO_CAMERA_CLIP_NEAR',
            'PRISMMAP_INFO_CAMERA_CLIP_FAR',
            'PRISMMAP_INFO_INFOTIP_EXPR',
            'SEARCH_INFO_TABLE',
            'SEARCH_INFO_ROW',
            'SEL_INFO_TABLENAME',
            'SEL_INFO_SELNAME',
            'SEL_INFO_NROWS',
            'SRV_SUCCESS',
            'SRV_SUCCESS_WITH_INFO',
            'SRV_ERROR',
            'SRV_INVALID_HANDLE',
            'SRV_NEED_DATA',
            'SRV_NO_MORE_DATA',
            'SRV_NULL_DATA',
            'SRV_TRUNCATED_DATA',
            'SRV_COL_INFO_NAME',
            'SRV_COL_INFO_TYPE',
            'SRV_COL_INFO_WIDTH',
            'SRV_COL_INFO_PRECISION',
            'SRV_COL_INFO_SCALE',
            'SRV_COL_INFO_VALUE',
            'SRV_COL_INFO_STATUS',
            'SRV_COL_INFO_ALIAS',
            'SRV_COL_TYPE_NONE',
            'SRV_COL_TYPE_CHAR',
            'SRV_COL_TYPE_DECIMAL',
            'SRV_COL_TYPE_INTEGER',
            'SRV_COL_TYPE_SMALLINT',
            'SRV_COL_TYPE_DATE',
            'SRV_COL_TYPE_LOGICAL',
            'SRV_COL_TYPE_FLOAT',
            'SRV_COL_TYPE_FIXED_LEN_STRING',
            'SRV_COL_TYPE_BIN_STRING',
            'SRV_DRV_INFO_NAME',
            'SRV_DRV_INFO_NAME_LIST',
            'SRV_DRV_DATA_SOURCE',
            'SRV_CONNECT_INFO_DRIVER_NAME',
            'SRV_CONNECT_INFO_DB_NAME',
            'SRV_CONNECT_INFO_SQL_USER_ID',
            'SRV_CONNECT_INFO_DS_NAME',
            'SRV_CONNECT_INFO_QUOTE_CHAR',
            'SRV_FETCH_NEXT',
            'SRV_FETCH_PREV',
            'SRV_FETCH_FIRST',
            'SRV_FETCH_LAST',
            'SRV_WM_HIST_NONE',
            'SRV_WM_HIST_OVERWRITE',
            'SRV_WM_HIST_NO_OVERWRITE',
            'SESSION_INFO_COORDSYS_CLAUSE',
            'SESSION_INFO_DISTANCE_UNITS',
            'SESSION_INFO_AREA_UNITS',
            'SESSION_INFO_PAPER_UNITS',
            'WIN_STYLE_STANDARD',
            'WIN_STYLE_CHILD',
            'WIN_STYLE_POPUP_FULLCAPTION',
            'WIN_STYLE_POPUP',
            'STR_LT',
            'STR_GT',
            'STR_EQ',
            'PEN_WIDTH',
            'PEN_PATTERN',
            'PEN_COLOR',
            'PEN_INDEX',
            'PEN_INTERLEAVED',
            'BRUSH_PATTERN',
            'BRUSH_FORECOLOR',
            'BRUSH_BACKCOLOR',
            'FONT_NAME',
            'FONT_STYLE',
            'FONT_POINTSIZE',
            'FONT_FORECOLOR',
            'FONT_BACKCOLOR',
            'SYMBOL_CODE',
            'SYMBOL_COLOR',
            'SYMBOL_POINTSIZE',
            'SYMBOL_ANGLE',
            'SYMBOL_FONT_NAME',
            'SYMBOL_FONT_STYLE',
            'SYMBOL_KIND',
            'SYMBOL_CUSTOM_NAME',
            'SYMBOL_CUSTOM_STYLE',
            'SYMBOL_KIND_VECTOR',
            'SYMBOL_KIND_FONT',
            'SYMBOL_KIND_CUSTOM',
            'SYS_INFO_PLATFORM',
            'SYS_INFO_APPVERSION',
            'SYS_INFO_MIVERSION',
            'SYS_INFO_RUNTIME',
            'SYS_INFO_CHARSET',
            'SYS_INFO_COPYPROTECTED',
            'SYS_INFO_APPLICATIONWND',
            'SYS_INFO_DDESTATUS',
            'SYS_INFO_MAPINFOWND',
            'SYS_INFO_NUMBER_FORMAT',
            'SYS_INFO_DATE_FORMAT',
            'SYS_INFO_DIG_INSTALLED',
            'SYS_INFO_DIG_MODE',
            'SYS_INFO_MIPLATFORM',
            'SYS_INFO_MDICLIENTWND',
            'SYS_INFO_PRODUCTLEVEL',
            'SYS_INFO_APPIDISPATCH',
            'SYS_INFO_MIBUILD_NUMBER',
            'PLATFORM_SPECIAL',
            'PLATFORM_WIN',
            'PLATFORM_MAC',
            'PLATFORM_MOTIF',
            'PLATFORM_X11',
            'PLATFORM_XOL',
            'MIPLATFORM_SPECIAL',
            'MIPLATFORM_WIN16',
            'MIPLATFORM_WIN32',
            'MIPLATFORM_POWERMAC',
            'MIPLATFORM_MAC68K',
            'MIPLATFORM_HP',
            'MIPLATFORM_SUN',
            'TAB_INFO_NAME',
            'TAB_INFO_NUM',
            'TAB_INFO_TYPE',
            'TAB_INFO_NCOLS',
            'TAB_INFO_MAPPABLE',
            'TAB_INFO_READONLY',
            'TAB_INFO_TEMP',
            'TAB_INFO_NROWS',
            'TAB_INFO_EDITED',
            'TAB_INFO_FASTEDIT',
            'TAB_INFO_UNDO',
            'TAB_INFO_MAPPABLE_TABLE',
            'TAB_INFO_USERMAP',
            'TAB_INFO_USERBROWSE',
            'TAB_INFO_USERCLOSE',
            'TAB_INFO_USEREDITABLE',
            'TAB_INFO_USERREMOVEMAP',
            'TAB_INFO_USERDISPLAYMAP',
            'TAB_INFO_TABFILE',
            'TAB_INFO_MINX',
            'TAB_INFO_MINY',
            'TAB_INFO_MAXX',
            'TAB_INFO_MAXY',
            'TAB_INFO_SEAMLESS',
            'TAB_INFO_COORDSYS_MINX',
            'TAB_INFO_COORDSYS_MINY',
            'TAB_INFO_COORDSYS_MAXX',
            'TAB_INFO_COORDSYS_MAXY',
            'TAB_INFO_COORDSYS_CLAUSE',
            'TAB_INFO_COORDSYS_NAME',
            'TAB_INFO_NREFS',
            'TAB_INFO_SUPPORT_MZ',
            'TAB_INFO_Z_UNIT_SET',
            'TAB_INFO_Z_UNIT',
            'TAB_INFO_BROWSER_LIST',
            'TAB_INFO_THEME_METADATA',
            'TAB_TYPE_BASE',
            'TAB_TYPE_RESULT',
            'TAB_TYPE_VIEW',
            'TAB_TYPE_IMAGE',
            'TAB_TYPE_LINKED',
            'TAB_TYPE_WMS',
            'TAB_TYPE_WFS',
            'TAB_TYPE_FME',
            'WIN_INFO_NAME',
            'WIN_INFO_TYPE',
            'WIN_INFO_WIDTH',
            'WIN_INFO_HEIGHT',
            'WIN_INFO_X',
            'WIN_INFO_Y',
            'WIN_INFO_TOPMOST',
            'WIN_INFO_STATE',
            'WIN_INFO_TABLE',
            'WIN_INFO_LEGENDS_MAP',
            'WIN_INFO_OPEN',
            'WIN_INFO_WND',
            'WIN_INFO_WINDOWID',
            'WIN_INFO_WORKSPACE',
            'WIN_INFO_CLONEWINDOW',
            'WIN_INFO_SYSMENUCLOSE',
            'WIN_INFO_AUTOSCROLL',
            'WIN_INFO_SMARTPAN',
            'WIN_INFO_SNAPMODE',
            'WIN_INFO_SNAPTHRESHOLD',
            'WIN_INFO_PRINTER_NAME',
            'WIN_INFO_PRINTER_ORIENT',
            'WIN_INFO_PRINTER_COPIES',
            'WIN_INFO_PRINTER_PAPERSIZE',
            'WIN_INFO_PRINTER_LEFTMARGIN',
            'WIN_INFO_PRINTER_RIGHTMARGIN',
            'WIN_INFO_PRINTER_TOPMARGIN',
            'WIN_INFO_PRINTER_BOTTOMMARGIN',
            'WIN_INFO_PRINTER_BORDER',
            'WIN_INFO_PRINTER_TRUECOLOR',
            'WIN_INFO_PRINTER_DITHER',
            'WIN_INFO_PRINTER_METHOD',
            'WIN_INFO_PRINTER_TRANSPRASTER',
            'WIN_INFO_PRINTER_TRANSPVECTOR',
            'WIN_INFO_EXPORT_BORDER',
            'WIN_INFO_EXPORT_TRUECOLOR',
            'WIN_INFO_EXPORT_DITHER',
            'WIN_INFO_EXPORT_TRANSPRASTER',
            'WIN_INFO_EXPORT_TRANSPVECTOR',
            'WIN_INFO_PRINTER_SCALE_PATTERNS',
            'WIN_INFO_EXPORT_ANTIALIASING',
            'WIN_INFO_EXPORT_THRESHOLD',
            'WIN_INFO_EXPORT_MASKSIZE',
            'WIN_INFO_EXPORT_FILTER',
            'WIN_MAPPER',
            'WIN_BROWSER',
            'WIN_LAYOUT',
            'WIN_GRAPH',
            'WIN_BUTTONPAD',
            'WIN_TOOLBAR',
            'WIN_CART_LEGEND',
            'WIN_3DMAP',
            'WIN_HELP',
            'WIN_MAPBASIC',
            'WIN_MESSAGE',
            'WIN_RULER',
            'WIN_INFO',
            'WIN_LEGEND',
            'WIN_STATISTICS',
            'WIN_MAPINFO',
            'WIN_TOOLPICKER',
            'WIN_PENPICKER',
            'WIN_SYMBOLPICKER',
            'WIN_STATE_NORMAL',
            'WIN_STATE_MINIMIZED',
            'WIN_STATE_MAXIMIZED',
            'WIN_PRINTER_PORTRAIT',
            'WIN_PRINTER_LANDSCAPE',
            'FILTER_VERTICALLY_AND_HORIZONTALLY',
            'FILTER_ALL_DIRECTIONS_1',
            'FILTER_ALL_DIRECTIONS_2',
            'FILTER_DIAGONALLY',
            'FILTER_HORIZONTALLY',
            'FILTER_VERTICALLY',
            'ERR_BAD_WINDOW',
            'ERR_BAD_WINDOW_NUM',
            'ERR_CANT_INITIATE_LINK',
            'ERR_CMD_NOT_SUPPORTED',
            'ERR_FCN_ARG_RANGE',
            'ERR_FCN_INVALID_FMT',
            'ERR_FCN_OBJ_FETCH_FAILED',
            'ERR_FILEMGR_NOTOPEN',
            'ERR_FP_MATH_LIB_DOMAIN',
            'ERR_FP_MATH_LIB_RANGE',
            'ERR_INVALID_CHANNEL',
            'ERR_INVALID_READ_CONTROL',
            'ERR_INVALID_TRIG_CONTROL',
            'ERR_NO_FIELD',
            'ERR_NO_RESPONSE_FROM_APP',
            'ERR_PROCESS_FAILED_IN_APP',
            'ERR_NULL_SELECTION',
            'ERR_TABLE_NOT_FOUND',
            'ERR_WANT_MAPPER_WIN',
            'ERR_CANT_ACCESS_FILE',
            'OBJ_ARC',
            'OBJ_ELLIPSE',
            'OBJ_LINE',
            'OBJ_PLINE',
            'OBJ_POINT',
            'OBJ_FRAME',
            'OBJ_REGION',
            'OBJ_RECT',
            'OBJ_ROUNDRECT',
            'OBJ_TEXT',
            'M_FILE_NEW',
            'M_FILE_OPEN',
            'M_FILE_OPEN_WMS',
            'M_FILE_OPEN_WFS',
            'M_FILE_OPEN_ODBC_CONN',
            'M_FILE_OPEN_UNIVERSAL_DATA',
            'M_FILE_CLOSE',
            'M_FILE_CLOSE_ALL',
            'M_FILE_CLOSE_ODBC',
            'M_FILE_SAVE',
            'M_FILE_SAVE_COPY_AS',
            'M_FILE_SAVE_QUERY',
            'M_FILE_SAVE_WORKSPACE',
            'M_FILE_SAVE_WINDOW_AS',
            'M_FILE_REVERT',
            'M_FILE_PAGE_SETUP',
            'M_FILE_PRINT',
            'M_FILE_EXIT',
            'M_EDIT_UNDO',
            'M_EDIT_CUT',
            'M_EDIT_COPY',
            'M_EDIT_PASTE',
            'M_EDIT_CLEAR',
            'M_EDIT_CLEAROBJ',
            'M_EDIT_RESHAPE',
            'M_EDIT_NEW_ROW',
            'M_EDIT_GETINFO',
            'M_TOOLS_CRYSTAL_REPORTS_NEW',
            'M_TOOLS_CRYSTAL_REPORTS_OPEN',
            'M_TOOLS_RUN',
            'M_TOOLS_TOOL_MANAGER',
            'M_OBJECTS_SET_TARGET',
            'M_OBJECTS_CLEAR_TARGET',
            'M_OBJECTS_COMBINE',
            'M_OBJECTS_DISAGG',
            'M_OBJECTS_BUFFER',
            'M_OBJECTS_CONVEX_HULL',
            'M_OBJECTS_ENCLOSE',
            'M_OBJECTS_VORONOI',
            'M_OBJECTS_SPLIT',
            'M_OBJECTS_ERASE',
            'M_OBJECTS_ERASE_OUT',
            'M_OBJECTS_POLYLINE_SPLIT',
            'M_OBJECTS_POLYLINE_SPLIT_AT_NODE',
            'M_OBJECTS_DRIVE_REGION',
            'M_OBJECTS_OVERLAY',
            'M_OBJECTS_CHECK_REGIONS',
            'M_OBJECTS_CLEAN',
            'M_OBJECTS_SNAP',
            'M_OBJECTS_OFFSET',
            'M_OBJECTS_ROTATE',
            'M_OBJECTS_SMOOTH',
            'M_OBJECTS_UNSMOOTH',
            'M_OBJECTS_CVT_PGON',
            'M_OBJECTS_CVT_PLINE',
            'M_QUERY_SELECT',
            'M_QUERY_SQLQUERY',
            'M_QUERY_SELECTALL',
            'M_QUERY_INVERTSELECT',
            'M_QUERY_UNSELECT',
            'M_QUERY_FIND',
            'M_QUERY_FIND_SELECTION',
            'M_QUERY_CALC_STATISTICS',
            'M_QUERY_FIND_SELECTION_CURRENT_MAP',
            'M_QUERY_FIND_ADDRESS',
            'M_TABLE_UPDATE_COLUMN',
            'M_TABLE_APPEND',
            'M_TABLE_GEOCODE',
            'M_TABLE_CREATE_POINTS',
            'M_TABLE_MERGE_USING_COLUMN',
            'M_TABLE_BUFFER',
            'M_TABLE_VORONOI',
            'M_TABLE_IMPORT',
            'M_TABLE_EXPORT',
            'M_TABLE_MODIFY_STRUCTURE',
            'M_TABLE_DELETE',
            'M_TABLE_RENAME',
            'M_TABLE_PACK',
            'M_TABLE_MAKEMAPPABLE',
            'M_TABLE_CHANGESYMBOL',
            'M_TABLE_UNLINK',
            'M_TABLE_REFRESH',
            'M_TABLE_RASTER_STYLE',
            'M_TABLE_RASTER_REG',
            'M_TOOLS_RASTER_REG',
            'M_TABLE_WMS_PROPS',
            'M_TABLE_WFS_REFRESH',
            'M_TABLE_WFS_PROPS',
            'M_TABLE_WEB_GEOCODE',
            'M_TABLE_DRIVE_REGION',
            'M_TABLE_UNIVERSAL_DATA_REFRESH',
            'M_ORACLE_CREATE_WORKSPACE',
            'M_ORACLE_DELETE_WORKSPACE',
            'M_ORACLE_VERSION_ENABLE_ON',
            'M_ORACLE_VERSION_ENABLE_OFF',
            'M_ORACLE_MERGE_PARENT',
            'M_ORACLE_REFRESH_FROM_PARENT',
            'M_FORMAT_PICK_LINE',
            'M_FORMAT_PICK_FILL',
            'M_FORMAT_PICK_SYMBOL',
            'M_FORMAT_PICK_FONT',
            'M_WINDOW_BUTTONPAD',
            'M_WINDOW_LEGEND',
            'M_WINDOW_STATISTICS',
            'M_WINDOW_MAPBASIC',
            'M_WINDOW_STATUSBAR',
            'M_FORMAT_CUSTOM_COLORS',
            'M_EDIT_PREFERENCES',
            'M_EDIT_PREFERENCES_SYSTEM',
            'M_EDIT_PREFERENCES_MAP',
            'M_EDIT_PREFERENCES_LEGEND',
            'M_EDIT_PREFERENCES_FILE',
            'M_EDIT_PREFERENCES_COUNTRY',
            'M_EDIT_PREFERENCES_PATH',
            'M_EDIT_PREFERENCES_OUTPUT',
            'M_EDIT_PREFERENCES_PRINTER',
            'M_EDIT_PREFERENCES_STYLES',
            'M_EDIT_PREFERENCES_IMAGE_PROC',
            'M_EDIT_PREFERENCES_WEBSERVICES',
            'M_EDIT_PREFERENCES_LAYOUT',
            'M_WINDOW_BROWSE',
            'M_WINDOW_MAP',
            'M_WINDOW_GRAPH',
            'M_WINDOW_LAYOUT',
            'M_WINDOW_REDISTRICT',
            'M_WINDOW_REDRAW',
            'M_WINDOW_TILE',
            'M_WINDOW_CASCADE',
            'M_WINDOW_ARRANGEICONS',
            'M_WINDOW_MORE',
            'M_WINDOW_FIRST',
            'M_HELP_CONTEXTSENSITIVE',
            'M_HELP_CONTENTS',
            'M_HELP_SEARCH',
            'M_HELP_USE_HELP',
            'M_HELP_ABOUT',
            'M_HELP_HELPMODE',
            'M_HELP_TECHSUPPORT',
            'M_HELP_CONNECT_MIFORUM',
            'M_HELP_MAPINFO_WWW',
            'M_HELP_MAPINFO_WWW_STORE',
            'M_HELP_CHECK_FOR_UPDATE',
            'M_HELP_MAPINFO_WWW_TUTORIAL',
            'M_HELP_MAPINFO_3DGRAPH_HELP',
            'M_HELP_MAPINFO_CONNECT_SERVICES',
            'M_BROWSE_PICK_FIELDS',
            'M_BROWSE_OPTIONS',
            'M_MAP_LAYER_CONTROL',
            'M_MAP_CREATE_3DMAP',
            'M_MAP_CREATE_PRISMMAP',
            'M_MAP_THEMATIC',
            'M_MAP_MODIFY_THEMATIC',
            'M_MAP_CREATE_LEGEND',
            'M_MAP_CHANGE_VIEW',
            'M_MAP_CLONE_MAPPER',
            'M_MAP_PREVIOUS',
            'M_MAP_ENTIRE_LAYER',
            'M_MAP_CLEAR_CUSTOM_LABELS',
            'M_MAP_SAVE_COSMETIC',
            'M_MAP_CLEAR_COSMETIC',
            'M_MAP_SET_CLIP_REGION',
            'M_MAP_CLIP_REGION_ONOFF',
            'M_MAP_SETUPDIGITIZER',
            'M_MAP_OPTIONS',
            'M_LAYOUT_CHANGE_VIEW',
            'M_LAYOUT_ACTUAL',
            'M_LAYOUT_ENTIRE',
            'M_LAYOUT_PREVIOUS',
            'M_LAYOUT_BRING2FRONT',
            'M_LAYOUT_SEND2BACK',
            'M_LAYOUT_ALIGN',
            'M_LAYOUT_DROPSHADOWS',
            'M_LAYOUT_DISPLAYOPTIONS',
            'M_LAYOUT_AUTOSCROLL_ONOFF',
            'M_GRAPH_TYPE',
            'M_GRAPH_LABEL_AXIS',
            'M_GRAPH_VALUE_AXIS',
            'M_GRAPH_SERIES',
            'M_GRAPH_FORMATING',
            'M_GRAPH_GENERAL_OPTIONS',
            'M_GRAPH_SERIES_OPTIONS',
            'M_GRAPH_GRID_SCALES',
            'M_GRAPH_TITLES',
            'M_GRAPH_3D_VIEWING_ANGLE',
            'M_GRAPH_SAVE_AS_TEMPLATE',
            'M_MAPBASIC_CLEAR',
            'M_MAPBASIC_SAVECONTENTS',
            'M_REDISTRICT_ASSIGN',
            'M_REDISTRICT_TARGET',
            'M_REDISTRICT_ADD',
            'M_REDISTRICT_DELETE',
            'M_REDISTRICT_OPTIONS',
            'M_LEGEND_PROPERTIES',
            'M_LEGEND_REFRESH',
            'M_LEGEND_ADD_FRAMES',
            'M_LEGEND_DELETE',
            'M_3DMAP_VIEW_ENTIRE_GRID',
            'M_3DMAP_PROPERTIES',
            'M_3DMAP_REFRESH_GRID_TEXTURE',
            'M_3DMAP_WIREFRAME',
            'M_3DMAP_CLONE_VIEW',
            'M_3DMAP_PREVIOUS_VIEW',
            'M_3DMAP_VIEWPOINT_CONTROL',
            'M_TOOLS_SELECTOR',
            'M_TOOLS_SEARCH_RECT',
            'M_TOOLS_SEARCH_RADIUS',
            'M_TOOLS_SEARCH_BOUNDARY',
            'M_TOOLS_EXPAND',
            'M_TOOLS_SHRINK',
            'M_TOOLS_RECENTER',
            'M_TOOLS_PNT_QUERY',
            'M_TOOLS_HOTLINK',
            'M_TOOLS_LABELER',
            'M_TOOLS_DRAGWINDOW',
            'M_TOOLS_RULER',
            'M_TOOLS_POINT',
            'M_TOOLS_LINE',
            'M_TOOLS_POLYLINE',
            'M_TOOLS_ARC',
            'M_TOOLS_POLYGON',
            'M_TOOLS_ELLIPSE',
            'M_TOOLS_RECTANGLE',
            'M_TOOLS_ROUNDEDRECT',
            'M_TOOLS_TEXT',
            'M_TOOLS_FRAME',
            'M_TOOLS_ADD_NODE',
            'M_DBMS_OPEN_ODBC',
            'M_TOOLS_MAPBASIC',
            'M_TOOLS_SEARCH_POLYGON',
            'M_ANALYZE_CUSTOMIZE_LEGEND',
            'M_ANALYZE_SHADE',
            'M_BROWSE_GRID',
            'M_BROWSE_NEW_RECORD',
            'M_FILE_ABOUT',
            'M_FILE_HELP',
            'M_FILE_PRINT_SETUP',
            'M_LAYOUT_LAYOUT_SIZE',
            'M_MAP_SETUNITS',
            'M_OBJECTS_BREAKPOLY',
            'M_OBJECTS_MERGE',
            'M_OBJECTS_RESHAPE',
            'M_WINDOW_EXPORT_WINDOW',
            'M_WINDOW_TOOL_PALETTE',
            'M_FILE_RUN',
            'M_FILE_OPEN_ODBC',
            'M_ANALYZE_SELECT',
            'M_ANALYZE_SQLQUERY',
            'M_ANALYZE_SELECTALL',
            'M_ANALYZE_INVERTSELECT',
            'M_ANALYZE_UNSELECT',
            'M_ANALYZE_FIND',
            'M_ANALYZE_FIND_SELECTION',
            'M_ANALYZE_CALC_STATISTICS',
            'M_BROWSE_EDIT',
            'M_MAP_AUTOLABEL',
            'M_MAP_PROJECTION',
            'M_FILE_ADD_WORKSPACE',
            'M_SENDMAIL_CURRENTWINDOW',
            'M_SENDMAIL_WORKSPACE',
            'M_MAP_AUTOSCROLL_ONOFF',
            'LAYER_INFO_LAYER_ALPHA',
            'LAYER_INFO_LAYER_TRANSLUCENCY',
            'LAYER_INFO_LABEL_ALPHA',
            'TAB_INFO_COORDSYS_CLAUSE_WITHOUT_BOUNDS',
            'RASTER_TAB_INFO_IMAGE_NAME',
            'RASTER_TAB_INFO_WIDTH',
            'RASTER_TAB_INFO_HEIGHT',
            'RASTER_TAB_INFO_IMAGE_TYPE',
            'RASTER_TAB_INFO_BITS_PER_PIXEL',
            'RASTER_TAB_INFO_IMAGE_CLASS',
            'RASTER_TAB_INFO_NUM_CONTROL_POINTS',
            'RASTER_TAB_INFO_BRIGHTNESS',
            'RASTER_TAB_INFO_CONTRAST',
            'RASTER_TAB_INFO_GREYSCALE',
            'RASTER_TAB_INFO_DISPLAY_TRANSPARENT',
            'RASTER_TAB_INFO_TRANSPARENT_COLOR',
            'RASTER_TAB_INFO_ALPHA',
            'IMAGE_TYPE_RASTER',
            'IMAGE_TYPE_GRID',
            'IMAGE_CLASS_BILEVEL',
            'IMAGE_CLASS_GREYSCALE',
            'IMAGE_CLASS_PALETTE',
            'IMAGE_CLASS_RGB',
            'GRID_TAB_INFO_MIN_VALUE',
            'GRID_TAB_INFO_MAX_VALUE',
            'GRID_TAB_INFO_HAS_HILLSHADE',
            'RASTER_CONTROL_POINT_X',
            'RASTER_CONTROL_POINT_Y',
            'GEO_CONTROL_POINT_X',
            'GEO_CONTROL_POINT_Y',
            'TAB_GEO_CONTROL_POINT_X',
            'TAB_GEO_CONTROL_POINT_Y',
            'WIN_INFO_ENHANCED_RENDERING',
            'WIN_INFO_SMOOTH_TEXT',
            'WIN_INFO_SMOOTH_IMAGE',
            'WIN_INFO_SMOOTH_VECTOR']

clauses = ['From',
           'Layer',
           'Variable',
           'Subtitle',
           'And',
           'Contains',
           'Entire',
           'Entirely',
           'Intersects',
           'Mod',
           'Not',
           'Or',
           'Part',
           'Partly',
           'Within',
           'Brush',
           'CharSet',
           'Control',
           'Button',
           'OKButton',
           'CancelButton',
           'CheckBox',
           'DocumentWindow',
           'EditText',
           'GroupBox',
           'ListBox',
           'MultiListBox',
           'PenPicker',
           'BrushPicker',
           'SymbolPicker',
           'FontPicker',
           'PopupMenu',
           'RadioGroup',
           'StaticText',
           'CoordSys',
           'Font',
           'Pen',
           'Symbol',
           'DDE',
           'Obj',
           'Alias',
           'Logical',
           'String',
           'Float',
           'Integer',
           'SmallInt',
           'Char',
           'Title',
           'Width',
           'Height',
           'Position',
           'Calling',
           'Avg',
           'Count',
           'Min',
           'Max',
           'Sum',
           'WtAvg',
           'Active',
           'Projection',
           'Earth',
           'Nonearth',
           'Bounds',
           'ByVal',
           'Cursor',
           'PushButton',
           'ToggleButton',
           'ToolButton',
           'Icon',
           'DrawMode',
           'HelpMsg',
           'Enable',
           'Disable',
           'Uncheck',
           'Decimal',
           'Definition',
           'Display',
           'Hide',
           'Show',
           'ID',
           'Into',
           'Native',
           'NoSelect',
           'On',
           'Off',
           'Separator',
           'Until',
           'Value',
           'Where',
           'Zoom',
           'Interactive',
           'Distance',
           'Center',
           'Preserve',
           'Label',
           'With',
           'Parallel',
           'FillFrame',
           'Justify',
           'Options',
           'Message',
           'File',
           'Values',
           'Auto',
           'Range',
           'ToolbarPosition',
           'Fixed',
           'Window',
           'Output',
           'Selectable',
           'Visibility',
           'Contrast',
           'Brightness',
           'Alpha',
           'Transparency',
           'Color',
           'Grayscale',
           'As',
           'Order',
           'By',
           'Inflect',
           'Percent',
           'At',
           'Desc',
           'Between',
           'In',
           'Shades',
           'Lines',
           'Number',
           'Ascending',
           'Ignore',
           'Apply',
           'Use',
           'First',
           'Last',
           'Rec'
           ]
