Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem passing an array by reference as a parameter
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem passing an array by reference as a parameter
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01057547
Message ID:
01057547
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform