Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper way of coding a class
Message
 
To
11/12/2001 11:14:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00592667
Message ID:
00592711
Views:
23
Hehe. When I was typing the reply I was thinking, "hmmm, I've never used the :: before, I wonder why"? Guess my brain got stuck. Thanks.

>Following on from that, to avoid the need to use the scope operator
>
>
>Define Test as custom
>  function showString(aString)
>    ? aString
>  endfunc
>Enddefine
>
>Define Test1 as Test
>  function showString(aString)
>    <b>dodefault</b>(this.fixFunc(aString))
>  endfunc
>  function fixFunc(aString)
>    <b>return 'String: ' + aString</b>
>  endfunc
>Enddefine
>
><b>Define Test2 as Test1
>Enddefine</b>
>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform