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.

For some reason my sub isn't 'linking' in MapBasic, I'm pretty new to this, but why is the sub assuming it begins on line 110 rather than where it actually says sub?

enter image description here

enter image description here

Thanks, Alan

share|improve this question
    
Try End Sub not end sub –  Nathan W Mar 28 '13 at 0:28
    
Nope, still doing it :S –  Alan Carr Mar 28 '13 at 9:42
add comment

1 Answer 1

up vote 1 down vote accepted

Got it! It didn't like the word 'Type', I remedied it by putting the file type on the same line as export

share|improve this answer
    
If this has resolved your issue you can mark your own answer aa the accepted answer to indicate that this question has been resolved. –  Rob Quincey Jul 5 '13 at 12:42
    
Type is a reserved word in MapBasic. reference.mapinfo.com/software/mapbasic/english/12.0/… –  steenhulthin Feb 2 at 12:03
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.