Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is a parameter an array?
Message
From
12/11/2003 12:05:11
 
 
To
12/11/2003 09:45:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00848944
Message ID:
00849141
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform