Many years ago I learned about Codewright and it is fantastic.  It can even be configured to access the compile and link functions of MapBasic directly.  It is made by Premia corp.

Jacques Paris wrote:

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. siteat http://www.total.net/~rparis/gisproducts.htm

For MapBasic questions see the J.Paris site athttp://www.total.net/~jakesp/index.htm

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of James Mazur (EDB)
Sent: November 9, 2000 7:47 AM
To: [EMAIL PROTECTED]
Subject: MI-L MB File Size

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
Mobile Telecom. GIS 
Ericsson, Brasil


 


_______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.

Reply via email to