FoxInCloud
calling PRGs
Gravatar is a globally recognized avatar based on your email address. calling PRGs
  Jim C
  All
  Dec 20, 2016 @ 01:45pm

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!

Gravatar is a globally recognized avatar based on your email address. re: calling PRGs
  FoxInCloud Support - Thierry N.
  Jim C
  Dec 21, 2016 @ 02:20am

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

© 1996-2024