Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equals? Why?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00530280
Message ID:
00530307
Vues:
19
Earlier version of FoxPro required that functions have an = sign in front of them, so if the function didn't return a value or you didn't care about the return value you had to write:

=MyFunction()

VFP no longer cares and infact, if there are no parameters, you can even leave off the ().

>Hi,
>
>Why is there an equal sign (=) before some commands that I see? For example: i saw an example of the SetFileAttributes API Function. It was like this:
>
>=SetFileAttributes.........
>
>I wrote it using
>
>SetFileAttributes.........
>
>and worked just fine.
>
>What is the diference between them?
>
>TIA
>
>Alonso
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform