ErosOlmi
21-09-2005, 07:54
When developing a module, it may happen to have many files related to that module.
To keep things clean, you can create a new directory under thinBasic\Lib directory and name it with the same name of the module. During script runtime, thinBasic will search also in that directory.
For example, if you module has thinBasic_TBGL name, create thinBasic_TBGL directory under thinBasic\Lib and keep all the files related to the module in that directory.
So the following are all valid direcory modules and thinBasic, at script runtime, will search also in those directory to search for needed modules:
thinBasic\Lib\thinBasic_TBGL
thinBasic\Lib\thinBasic_RS232
thinBasic\Lib\thinBasic_DBF
...
See thinBasic online doc for USE keyword: http://www.thinbasic.com/public/products/thinBasic/help/html/uses.htm
Regards
Eros
To keep things clean, you can create a new directory under thinBasic\Lib directory and name it with the same name of the module. During script runtime, thinBasic will search also in that directory.
For example, if you module has thinBasic_TBGL name, create thinBasic_TBGL directory under thinBasic\Lib and keep all the files related to the module in that directory.
So the following are all valid direcory modules and thinBasic, at script runtime, will search also in those directory to search for needed modules:
thinBasic\Lib\thinBasic_TBGL
thinBasic\Lib\thinBasic_RS232
thinBasic\Lib\thinBasic_DBF
...
See thinBasic online doc for USE keyword: http://www.thinbasic.com/public/products/thinBasic/help/html/uses.htm
Regards
Eros