Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem passing an array by reference as a parameter
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem passing an array by reference as a parameter
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057547
Message ID:
01057547
Views:
63
Hi,

I am receiving an error when I compile a VFP exe.

I am attempting to pass an array by reference to an object using strong typing. The calling program calls the object using the @ before the array it is passing:

.oft.copyfiles(@lafiles,"pathnamehere", 2)

The object has this parameter statement:

LPARAMETERS tafiles AS ARRAY, tctgtpath AS CHARACTER, tcmode AS INTEGER

However, when I compile the exe, I always get this error:

Visual Class Library ...\class\ftools.vcx has the following errors:
Unknown TAFILES - Undefined

I have tried various fixes to no avail.

Is anyone familiar with this problem?

Many thanks for any assistance.

John
Next
Reply
Map
View

Click here to load this message in the networking platform