Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Hello everyone I need som help.How could I æa rectengular and a line useing mapbasic window in mapinfo .Could you share nessesary codes:/ – user55822 Jul 27 '15 at 16:27
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: – 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: – 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.

As for actual writing MapBasic application I will only recommend the MapBasic Text Editor for small projects. As soon as you start creating more advanced projects I would recommend that you find a better text editor.

One option here would to use the MapBasic IDE developed by Mustafa ÖZÇETİN. On the blog you can find a very good guide to getting started with the MapBasic IDE.

share|improve this answer

Not a tutorial but something I found very useful is this site:

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.