Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UDF in SQL
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00160448
Message ID:
00160576
Views:
15
>LPARAMETERS lcToMatch, lcChoice1, lcChoice2, lcChoice3, lcAnswer1, lcAnswer2, lcAnswer3
>
>DO CASE
>   CASE lcToMatch = lcChoice1
>      RETURN lcAnswer1
>   CASE lcToMatch = lcChoice2
>      RETURN lcAnswer2
>   CASE lcToMatch = lcChoice3
>      RETURN lcAnswer3
>ENDCASE
>
I'd suggest putting an
   OTHERWISE
      RETURN SPACE(12)  && Or whatever
in that CASE statement, just in case....
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform