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