Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am new to MapBasic and this particular forum so please excuse my somewhat simple questions and potential violations of the GIS SE protocol - not intentional :) Also, thank you in advance for any help.

I ran into this old thread regarding buttons with conditional functions and tested the code suggested by Peter Horsbøll Møller there: Making a Button in mapinfo with conditional function

However I ran into the following error message "Commandinfo: Argument 2 out of range". I've seen the same issue reported on other discussion forums with no outcome. Has anybody seen/resolved this issue before?

I'm using MapBasic 10.0/MapBasic IDE/MI Professional 12.0. Thank you!

share|improve this question
    
I see you left a comment on the other question.The code posted by kitex isn't working, hence them asking for help with that code. Peter Horsbøll Møller has posted the solution below it. –  BStone Sep 16 '13 at 10:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.