Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter in a text box
Message
 
To
17/07/2000 15:16:59
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00393414
Message ID:
00393473
Views:
26
>George....
>
>...........I prefer using this technique over using a numeric for a couple of reasons. Chiefly because I can simply assign the return value in the function based on a logical expression. For example, if the control needs to accept a date field and the date field needs to be a date in the future: llresult = (This.Value > DATE()) acheives the desire effect.
>
>Is this to fulfill the old function axiom.... one entrance and one exit?

Tom,

I apply that to everything. All routines exit at the bottom and no where else. Actually, this also (to a very minor degree, um, miniscule< g >) cuts down on the size of the application because it reduces the number of literals.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform