I am attempting to compile a quick MapBasic tool I have written, however it won't compile despite the variable being clearly defined
enter image description here
It's probably something simple I am missing, can somebody point out where I am going wrong?
1 Answer 1
It was an error later in my code:
I forgot to separate in instance of nMID from the run command string (I didn't have the "&" symbols before it) so it was referring to this instance.
enter image description here