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:
00530304
Vues:
14
it has to do with various writing styles avail for the programmer. or alt ways of calling functions.
i.e. I hope I am explaining myself ok here.

=myfunction(1,2) && whatever is returned from that myfunction() is tossed away.
myfunction("1","2") && implys there is nothing to be returned, from the Function.
and
myvar=myfunction(1,2)

stores whats returned from myfunction as a memvar named myvar.
Bob Lee

>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
In the beginning, there was a command prompt, and all was well.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform