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.

I googled for tutorials and found various PDFs but could not get started with the resources.

I would be glad if anyone could provide some path for learning MapBasic.

share|improve this question

3 Answers 3

up vote 5 down vote accepted

I was lucky enough to learn MapBasic from some other colleagues. I have not found many resources for MapBasic other than what Pitney Bowes offers on the site.
I spotted this tutorial that looks fairly good for new starters.

There is currently only a handful of MapBasic questions on this site, and only a few people following that tag, but if you have more specific questions, feel free to ask here and we will try and help out.

share|improve this answer
I would add the MapInfo-L google group to that list for help: groups.google.com/group/mapinfo-l/topics –  Nathan W Jun 19 '11 at 12:25
Yes, good point, I subscribe to that and its helped me a lot with MapBasic Qs –  Simon Jun 20 '11 at 5:39
The tutorial with the link is incomplete :( –  kinkajou Jun 28 '11 at 22:36
Still works for me. This 1 right: tydac.ch/de/pdf/mapbasic.pdf –  Simon Jun 29 '11 at 1:49
yea the tutorial link works but it's pages are stripped off. :( –  kinkajou Jul 1 '11 at 5:44

Also if you are looking for a way to learn MapBasic more than a way to learn programming, there is a huge help in MapInfo Pro thru the MapBasic window.

Open the MapBasic window (Options > Show MapBasic Window) and do the task you want to code in MapBasic in MapInfo Pro. MapInfo Pro will now write the MapBasic statements required. You can now copy these into your MapBasic source code and work from this.

It's not all that can be done this way, but it gives you a very good insight into a lot of the MapBasic statements

There are also a number of web pages where you can find tools including MapBasic source code to get you on the right track.

Sometimes it might be helpful to have a look at the source code for an existing tool to see how it has been made.

Have a look at these sites:

Some of these site do hold some pretty old tools but many of these will still work

share|improve this answer

Not a tutorial but something I found very useful is this site: http://www.twiav.nl/php/mapbasic.php

I would highly recommend setting up Notepad++ (or something similar). Syntax highlighting, bulk indenting and bulk commenting can speed things up massively.

share|improve this answer

Your Answer


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.