|
Chris
MBO is
the 'object' file for later linking in a project. It means that you have a
sub or something which is not dealt with in the
program.
Take
the following example:
Declare sub main
declare sub fred
sub
main
print "Hello"
call fred
end
sub
The
compiling of the above would generate an MBO file.
However if you actually put the code for FRED in the
program like thus:
Declare sub main
Declare sub fred
sub
main
print "Hello"
call fred
end
sub sub fred end sub Then
that would create an MBX - executable.
The
reason you get the MBO is because the compiler thinks that 'SUB FRED' is dealt
with by another file which is listed in a project file.
A
project, or MBP file would look like this:
[LINK]
Application=myprogramname.mbx Module=a_compiled_MB_that_contains_some_code(subs_etc).mbo Module=another_compiled_MB_that_contains_some_code(subs_etc).mbo That
way your programming work can be better structured for easier
maintaining/debugging.
Hope
that helps!
Regards
Doug
|
- MI MBX vs MBO galmala
- RE: MI MBX vs MBO Doug
- RE: MI MBX vs MBO Martin, Christopher (WSA Telford)
- RE: MI MBX vs MBO Richard . Burkmar
