Hi everyone,
I have been trying to make a few of my own modules,but keep getting can't find or can't open module.I have sort of read through the help,but don't seem to see anything related to where the compiler looks for the modules. I have it saved in the projects directory.
Where to save modules?
Moderators: David Barker, Jerry Messina
Where to save modules?
Last edited by CharlieM on Fri Oct 12, 2007 11:54 am, edited 1 time in total.
Running version 2.2.4.0 ICC 1.2.1.0
Regards CharlieM
Regards CharlieM
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
Compile will search for modules in the following order..
(a) in the folder that contains the main program
(b) the user library folder
(c) the system library folder
Make sure that if you include a module, like this
the module has the module keyword included, right at the top. For example,
(a) in the folder that contains the main program
(b) the user library folder
(c) the system library folder
Make sure that if you include a module, like this
Code: Select all
include "MyModule.bas"
Code: Select all
module MyModule
dim
a,b,c as byte
...