Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Acopy() error
Message
 
 
À
16/09/2003 13:54:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00829538
Message ID:
00829542
Vues:
17
This message has been marked as the solution to the initial question of the thread.
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.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform