Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equals? Why?
Message
 
À
13/07/2001 11:35:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00530280
Message ID:
00530318
Vues:
22
>I think it was VFP 3 and before.
>
>Anyway, you still need the "=" sign in front of the SEEK() function, or else!
>
>Hilmar.
>
>>In VFP 5 and before, all function calls had to be assigned to something, i.e
>>lcVar = FunctionName()
>>
>>If you didn't want the return value, then you could leave out the variable e.g.
>>= FunctionName()
>>
>>In VFP 6, the need to assign the return from a function was removed, so now you can just say:
>>FunctionName()

Hilmar;

I can recall that with VFP 3.0 it was required to use = to call a function. With VFP 5.0 this requirement was removed - however some programmers continued to do this a a matter of "style" while others insisted it had to be done.

Tom
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform