|
Hello, greetings from the Solomons,
I have been writing a few MapBasic programs for
village searches and data checking/updating for the village tables we have
here. One, which works fine, creates a menu, depending on the item selected from
the menu another .mbx is run to find the input village etc.
I was adapting this for another purpose, but
found when I compiled the code it created an *.mbo file, not an .mbx file which
is what I was expecting. I compared the two code listings and the I had
not inserted the:
Sub exit_menu
'** Restore default
menubar
Create Menu Bar as Default '** Exit this
application
Terminate Application "menu.mbx" End Sub
Having inserted this it works fine.
The on line help gives me the following: "If the file compiles successfully,
MapBasic creates a filename.MBX file (if the file is a stand-alone program) or a
filename.MBO file (if the file is part of a multiple-module project). If the
file generates compilation errors, MapBasic displays a list of error messages at
the bottom of the edit window"
At the moment, the nature of my relatively
simple programs means that I can do what I want to do without setting up a multi
module project, I do however remain slightly confused by the differences between
MBX/MBO/MBP and how they all fit together etc. and would be interested in any
pointers as to when this multi-module approach would be worth me exploring
further.
Thanks in advance
Mick Saunders
|
- Re: MI - MBO/MBX/MBP?? SOLOMON ISLANDS POPULATION CENSUS
- Re: MI - MBO/MBX/MBP?? Bob Young
- Re: MI - MBO/MBX/MBP?? Carol Sheehan
