Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement