MapInfo Pro Developers User Group

 View Only
  • 1.  MapBasic Window MI Pro 16.0.2 (release build 205)

    Posted 12-18-2017 15:28

    I was trying to run a simple command from the MapBasic window, the relevant section in the Help manual (Issuing Commands through the MapBasic Window) wrongly states that to execute a command you hit Enter. I finally worked out that it is in fact Ctrl + Enter



  • 2.  RE: MapBasic Window MI Pro 16.0.2 (release build 205)

    Employee
    Posted 12-18-2017 10:43

    Hi Alex. This is actually a backstage option. Check your MapBasic options settings (Pro \ Options \ Window \ MapBasic)

    Check [Enter Key Executes command]

    With this checked, [Enter] executes the line on which the cursor is positioned (same as "run command" on the context menu), while [Ctrl+Enter] should insert a nl/cr at the position of the cursor in the MB window, without executing the statement on the line itself.



  • 3.  RE: MapBasic Window MI Pro 16.0.2 (release build 205)

    Posted 12-18-2017 10:57

    Hi John,

    ah - wasn't aware of the settings. Thanks for the pointer!



  • 4.  RE: MapBasic Window MI Pro 16.0.2 (release build 205)

    Employee
    Posted 12-18-2017 16:51

    I've created a documentation work item to clean this up. Thanks for pointing it out.