Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: ALEN ArrayName expression don't support dot prefix
Message
From
16/07/2005 22:14:57
Ken Dibble
Southern Tier Independence Center
Binghamton, New York, United States
 
 
To
16/07/2005 08:31:32
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01033297
Message ID:
01033348
Views:
17
>
>clear
>DIMENSION oneArray[1]
>ADDPROPERTY(_screen,"oneArray[1]")
>* supported ArrayName
>? ALEN(oneArray)
>? ALEN(m.oneArray)
>? ALEN("oneArray")
>? ALEN("one"+"Array")
>arrayName = "oneArray"
>? ALEN((arrayName))
>? ALEN((m.arrayName))
>? ALEN(_screen.oneArray)
>
>* BUG : name expression don't support dot prefix
>? ALEN("m.oneArray")
>? ALEN("_screen.oneArray")
>WITH _screen
>	? ALEN(".oneArray")
>ENDWITH
>
This works:
WITH _screen
     ? ALEN(.oneArray)
ENDWITH
So does this:
WITH _screen
     ? ALEN((.oneArray))
ENDWITH
You're feeding it a string literal within the WITH ... ENDWITH structure, not a property name expression.

Ken Dibble
www.stic-cil.org
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform