Home
Level Extreme platform
Subscription
Corporate profile
Products & Services
Login
FRANÇAIS
Home
FRANÇAIS
Level Extreme platform
Login
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Français
When to use parenthases after commands?
Message
From
15/08/2006 16:30:55
Naomi Nosonovsky
Wisconsin
,
United States
To
15/08/2006 16:21:59
Tc Holzer
Isle of Man
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re:
When to use parenthases after commands?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01145740
Message ID:
01145756
Views:
21
>The general guideline is to use parenthesis when calling methods or functions - even if no parameters are passed. Methods that return values and are used in expressions must end in open and closed parenthesis according to the VFP9 help file. Lookup passing parameters to methods in help.
>
>Just for good reading (my favorite is Craig Berntson's site):
>
>
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/msdn_vfp_objm.asp
>
http://www.craigberntson.com/Articles/kb015.htm
>
http://fox.wikis.com/wc.dll?Wiki~SampleCodingStandardsStatement
Events getFocus
Methods writeExpression
Objects oEmployee
Properties allowRowSizing
Procedures getNextId
Note: The initial character should always be in lowercase and if the name consists of more than one word, the initial-capital words are concatenated
Interesting... I always use upper case for the first letter in methods such as SetFocus, GetFocus, etc.
If it's not broken, fix it until it is.
My Blog
Previous
Next
Reply
Map
View the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only
Click here to load this message in the networking platform
Level Extreme platform
Best practices
Testimonials
Downloads
Articles
Subscription
Subscribe or renew
Benefits
Donate 5$
Donate 10$
Donate 15$
Donate 20$
Donate 25$
Corporate profile
Overview
Portfolio
Products & Services
Consulting services
Enterprise hosting
Web Site Hosting
Graphic design
Book publishing
Support
Troubleshooting
Problem with logins
Contact us
Legal
Copyright
Privacy policy
Terms & Conditions
Login
Google
Copyright © 1993-2024 by Level Extreme Inc. All rights reserved · Website by
levelextreme.com