Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5 command equivalent to 'IF myprocedure ()'
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP 5 command equivalent to 'IF myprocedure ()'
Divers
Thread ID:
00030393
Message ID:
00030393
Vues:
80
After upgrading from VFP 3.0b to VFP 5.0, one of the commands in a PRG is flagging an error during Build Project and is not producing the results it was in 3.0b.

The statement used to call a procedure called 'SAVE' and
return .T. if completed successfully. The procedure 'SAVE' was ended with 'RETURN .T.'
Now the procedure doesn't even run and I can't find a VFP 5 statement that is equivalent to:


if save()
clear read
else
lbutton=1
endif

It seems pretty simple, but none of my attempts have produced the same results.

If anyone knows of a similar command or syntax that will work in VFP 5, I would be extremely grateful.

Thanks,

Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform