require and load

X

Xiangrong Fang

Hi,

I found a problem with EXERB. It compiled an EXE file that failed to
find a RB it should include. The RB file is from the "Win32" module
availabe on RAA. The strange thing is that this RB file is LOADed, not
REQUIREd by the main program, if I change the load to require and
recompile, everything is fine.

Could anyone please explain what is the difference between require and
load, and why EXERB failed to include that loaded module?

Thanks a lot!
 
N

nobu.nokada

Hi,

At Tue, 23 Sep 2003 23:20:13 +0900,
Xiangrong said:
I found a problem with EXERB. It compiled an EXE file that failed to
find a RB it should include. The RB file is from the "Win32" module
availabe on RAA. The strange thing is that this RB file is LOADed, not
REQUIREd by the main program, if I change the load to require and
recompile, everything is fine.

IIRC, exerb doesn't override load, but only require.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Play mp3 on body load call. 1
"Load" Works, But "Require" Doesn't? 4
circular 'require' 28
Basics of Require 5
require and include?? 7
require problem 0
load vs require 2
Confused with "include" and require 2

Members online

Forum statistics

Threads
474,135
Messages
2,570,783
Members
47,341
Latest member
hanifree

Latest Threads

Top