Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When to use parenthases after commands?
Message
De
15/08/2006 16:21:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01145740
Message ID:
01145754
Vues:
16
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
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform