Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is a parameter an array?
Message
De
12/11/2003 12:05:11
 
 
À
12/11/2003 09:45:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00848944
Message ID:
00849141
Vues:
21
hi Hilmar,

it is a false problem.

You cannot define a array directly, with VFP reserved function keywords like name.
DIMENSION sqrt(1)
but you can build it with a implicit command ( a VFP control issue for me )
ALANGUAGE(sqrt,1)
* now you can use it ?
? sqrt(1) && return 1
* but it is a variable !!!
? m.sqrt(1)
Now you have the solution on hand:
? TYPE('m.sqrt(4)')
I always remain astonished in seeing that nearly all the programs puttinges in UT do not use m.;
this is one sure source of future problems.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform