When you compile an MB file, if a Main() function is included, MapBasic compiles an MBX - a complete program.
If there is not Main(), the compiler assume the code is part of a bigger project (MBP) and that is should be linked in with other MB/MBO files to produce a final MBX.
 
So if you are expecting an MBX and get an MBO it is probably because you don't have a Main() sub....
-----Original Message-----
From: galmala [mailto:[EMAIL PROTECTED]]
Sent: 09 September 2000 01:51
To: [EMAIL PROTECTED]
Subject: MI MBX vs MBO

Hey guys,
 
Just a quick question concerning MapBasic. I am writting several small programs at the moment. When I attempt to compile these files, they sometimes are compiled as an MBX file, and other times they are compiled as an MBO file! Any suggestions as to why this is the case.
 
Thanks in advance,
 
Chris

Reply via email to