Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equals? Why?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00530280
Message ID:
00530307
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform