Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrays and undefined error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01047012
Message ID:
01047194
Views:
11
Frank,

In cases where macro or name expression statements are used I'll include a function at the bottom of the main.prg that looks like this:
function ForProjectManagerInclusion()
* make explicit references to forms executed via indirect references
if ( .f. )
   do form xyz
   do form qwerty
endif
return
The function never gets called and even if it did wouldn't do anything.

>You won't believe it, but I just had that situation a few months ago and it almost drove me mad. It was not with an array it was with ... I think forms, yes.
>
>In an older application I had a few forms that were called using macrosubstitution. Thus the Projectmanager did not see them. As I wanted to make sure the projectmanager catches them when I completely rebuild the project, I created, guess, yes, a dummy-proc in the main program. And this of course did have comments like "These forms get called via macro, so this is just to trick the ...".
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform