Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditional parameter type
Message
From
07/11/2007 08:35:50
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Conditional parameter type
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01267240
Message ID:
01267240
Views:
61
I have a method in a class that one of the parameters received could be an object, or it could be just a text string. I'm checking for the TYPE in the beginning and then handling it conditionally. Is that a good way to do it or is there a better way? Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform