FoxInCloud
calling PRGs
The application I'm trying to adapt has many instances of forms calling programs and programs calling programs. In the development version, as soon as I hit one of the calls I get a pgmname.prg not found error.
Am I doing something wrong or is this not supported?
Thanks!
Hi Jim,
This scenario is indeed supported, in both IDE (dev) and production;
to make this happen in development, just make sure to add the folders where your .prgs sit in xxxEnv.Init()
:
set path to 'folder1, folder2, …' additive
if your need procedure in some of these prgs, make sure to add in xxxEnv.Init()
:
xxxEnv.Init()
:
set procedure to 'prg1, prg2, …' additive
Most important, don't miss the additive
keyword