General information
Category:
Coding, syntax & commands
Title:
Problem passing an array by reference as a parameter
Environment versions
Network:
Windows 2003 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only