Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 confuses program call with an array
Message
From
22/11/2004 15:26:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP8 confuses program call with an array
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00963624
Message ID:
00963624
Views:
42
I'm attempting to convert a vfp5 executable into vfp8.

xyz is a prg that is included in the project. It accepts a numeric parameter and returns a value. In vfp5, I call it like this:

lnValue = xyz(1)

In vfp8, I get an error, "invalid subscript reference" - apparently vfp8 thinks xyz is an array and does not recognize it as a prg. Is there a way to let vfp8 know that this is a prg and not an array?

Thanks,
Alan
Next
Reply
Map
View

Click here to load this message in the networking platform