MapInfo Pro Developers User Group

Welcome to the MapInfo Pro Developers community!  We are a group dedicated to the discussion and understanding of MapBasic and .Net MapInfoPro AddIn development. Bring your questions and ideas here. This group includes several members of the Pro development team from around the world.

Please feel free to start a discussion in the discussion tab or join in a conversation.

Product Information  Ideas Portal  MapInfo Community Downloads

Discussions

Members

Resources

Events

 View Only
  • 1.  Will there be a MapBasic v17?

    Employee
    Posted 04-18-2018 06:53

    Will MapBasic be available for MapInfo Pro 17?

    Any new funcionality in MapBasic?



  • 2.  RE: Will there be a MapBasic v17?

    Employee
    Posted 04-18-2018 03:41

    Yes, of course. MapBasic wil continue to be an important part of MapInfo Pro.

    We have actually added quite a few new things to the MapBasic language.

    Many has to do with the improved Layout capabilities and there are some for working with tables and windows.

    We also added some functions for easily picking styles via dialogs and being able to access Environment variables from the Windows Operating system.

    Now three new functions that I really have been looking forward to are these:

    • IIF() which is a If statement condensed into a function. Desides being used in your MapBasic script, it can also be used in MapInfo Pro itself, for example when building thematic expressions or label expressions: IIF(POPULATION<1000000,"Small Population", "Big Population")
    • Cond() which is a Case statement condensed into a function. It's a bit similar to IIF() but it can compare your expression to multiple values: Cond(1, Pop_1994 < 1000000, "Very Small Population", Pop_1994 < 1000000, "Normal Population", "Large Population")
    • Exec() which is a function that allows you to call functions or procedures in running MapBasic applications. In the example here, I'm using a function in the WindowHelper application to search and replace strings using an update statement: Update SomeTable Set SomeColumn = Exec("WindowHelper.mbx", "STRINGReplace", SomeColumn, ".", " ")

     

    You can find more details about these functions and the other new and improved functions and statement in the MapBasic Reference Guide when it's released.