Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Consistent array weirdness with addproperty
Message
From
07/09/2005 09:36:58
 
 
To
07/09/2005 08:55:53
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01047310
Message ID:
01047321
Views:
12
>Hi,
>define class BobWhatEver
> procedure Init
> this.AddProperty("laArray[1,1]")
> endproc
>enddefine
try defining the laArray outside of the init, and initialize it in the init:

DEFINE CLASS BobWhatEver
DIMENSION laArray[1,1]
procedure Init
this.laArray = "Initialized value"
endproc


ENDDEFINE
Previous
Reply
Map
View

Click here to load this message in the networking platform