Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Acopy() error
Message
From
16/09/2003 14:03:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00829538
Message ID:
00829546
Views:
20
Sergey, Thanks for the quick reply. I can live with the workaround.

>Yea, that's the way it works or rather doesn't work. The workaround is to redimention destination array to one item before ACOPY().
dimension az[1]
>acopy(az,this.ax)
>
>>Hi all,
>>
>>Is this always the case in VFP7 w/SP?
>>
>>ox=createobject('classname')
>>ox.test()
>>define class classname as session
>>   dimension ax[1,2]
>>   procedure test
>>      dimension az[2,2]
>>      acopy(az,this.ax) && error: subscript is outside of defined range!
>>   endproc
>>enddefine
>>
>>
>>TIA.
ramil
~~ learning to stand still
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform