MapInfo Pro Developers User Group

 View Only

MapBasic reserved words list

  • 1.  MapBasic reserved words list

    Posted 01-27-2021 15:54
    It has come to our attention that the list of reserved keywords sometimes called tokens is out of date in the documentation.

    Many MapBasic language keywords, such as Open, Close, Set, and Do, are reserved words which may not be used as variable name, table name or column name . If you attempt to define a variable called Set, MapBasic will generate an error when you compile the program. The table below summarizes the MapBasic keywords which may not be used as variable names.

    Here is the complete list:


    In addition, I will be adding a new SessionInfo() attribute to return this list in case there are additions in the future.


    Bob Fortin
    Software Architect and Distinguished Engineer
    MapInfo Pro Development Team