Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function Parameters Syntax Question
Message
From
07/05/2000 23:56:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Function Parameters Syntax Question
Miscellaneous
Thread ID:
00367141
Message ID:
00367141
Views:
48
Hey,

I've got three questions for y'all about these two functionally identical FUNCTION definitions:
<b>Style A:</b>
DEFINE CLASS MyClass AS someclass
<b>FUNCTION MyFunc(cParam1, nParam2)</b>
ENDFUNC
ENDDEFINE

<b>Style B:</b>
DEFINE CLASS MyClass AS someclass
<b>FUNCTION MyFunc
LPARAMETERS cParam1, nParam2</b>
ENDFUNC
ENDDEFINE
1) In which Fox version did Style A become possible, and where is it documented?

2) How many of you regularly use Style A instead of the more common Style B?

3) Are there any advantages or disadvantages to using Style A? Is it more consistent with the VB and VC world?
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Next
Reply
Map
View

Click here to load this message in the networking platform