Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro arrays vs. Clipper arrays
Message
From
21/08/2001 11:45:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00546619
Message ID:
00546795
Views:
22
>Hi Malcom,
>
>As I said in this same thread I really miss the variable declaration and assigment of Clipper. Have this in VFP would be great.
>
>ie. in VFP
>
>Local Var1, Var2, Var3
>Var1 = Value1
>Var2 = Value 2
>Var3 = Value 3
>
>In Clipper
>
>Local var1:= Value1, Var2:=Value2, Var3:=Value3

While this is a minor inconvenience, what I find annoying, sometimes, is the fact that an array has to have at least one element. This can cause serious problems in some cases. For instance, SELECT ... INTO ARRAY won't create the array if you happen to select zero records. Work-around: check for _tally. Problems arise when you aren't aware of this situation.

Note: I have no experience with Clipper.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform