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!