|
64k is not
much these days. But MB is what it is with all its shortcomings. The
solution of using a text editor is certainly good to overcome this limitation.
As I have never used it myself, I would not be able to tell if the compilation
will work when the file is >64k. Fore sure, how will the errors be displayed? I have
seen people chopping down the main file by putting sub in separate mb files and
adding in the main segment some “include …xyz.mb”. Here again, I am not sure
that the 64k could be exceeded at compilation time. My favourite
solution is to create semi autonomous segments that can be debugged and compiled
as mbo. The main segment must have the proper “include ..xyz.def” statements
and the whole is crowned by a project file where the various mbo modules are
added to the application. This “structure” might appear a little complex at
first, but it has the great advantage to do all the writing and the compiling under
MI, which is for guys like me who compose applications by adding and adding… a
more efficient way to proceed. Note also that some of the mbo can be your own
library blocks, reusable at will. But if you
can find a MB compiler without the 64k limit, jump on it. Jacques PARIS e-mail [EMAIL PROTECTED] For
MapInfo support, see the Paris PC Consult enr. site at http://www.total.net/~rparis/gisproducts.htm For
MapBasic questions see the J.Paris site at http://www.total.net/~jakesp/index.htm -----Original
Message----- Hi everyone, I am rather new to the
MB coding environment and I am a bit confused about the issue of the max.
MapBasic file size. Is it true that the max. file size can only reach 64Kb
within the MB editor? My MB script is currently at 58Kb and rapidly growing.
Should I be using a text editor to write the code and then use the
"Compile from File" option in MB? TIA...your time is
greatly appreciated. James Mazur
|
Title: MI-L MB File Size
- MI-L MB File Size James Mazur (EDB)
- Re: MI-L MB File Size Jacques Paris
- Re: MI-L MB File Size Jerry E. Howard
- R: MI-L MB File Size Massimo Corinaldesi
- RE: MI-L MB File Size Matthew Greatorex
- RE: MI-L MB File Size David L. Dennis
