Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acopy() error
Message
De
16/09/2003 14:03:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00829538
Message ID:
00829546
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform