Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UNBELIEVEABLE BUG in VFP 5.0!!!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00009466
Message ID:
00009506
Vues:
28
>>Unless there is a spell on my computer, VFP has a bug in the COPY TO ARRAY command...
>
> What I've found is that the COPY TO ARRAY command does everything it's supposed to do (that is, if the array does not exist, VFP creates it and
>fills it with the correct data). The bug is that VFP incorrectly signals
>an "insufficient memory" error, and only when the array does not previously exist. If you put:
>
>On Error =1 && a junk statement
>COPY TO ARRAY ....
>On Error
>
>....then the error signal is trapped and discarded, and the command still
>does what it is supposed to do.


Will look into it. BTW, the official Error thingy us:

ON ERROR *

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform