Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program to read my wifes mind...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00680594
Message ID:
00682219
Views:
15
Try this:

FUNCTION MakeWifeHappy
** This function should be called when 
** oWifeMemory.GetPreviousMistakes()
** event fires

lAdmitMistake = .T.

IF lDidLast = lBoughtGift
    DO FixHouseHoldItem
ELSE
    DO BuyWifeGift
ENDIF
IF oWife.CheckStatus # CONST_WIFEHAPPY
    = MakeWifeHappy()
ENDIF
RETURN .T.


Here is a function for having a conversation with your wife during a football game:

FUNCTION RespondToWife
nRandNumber = RIGHT(TRAN(RAND()),1)
DO CASE
    CASE nRandNumber $ "16"
        RETURN "Yes, dear"
    CASE nRandNumber $ "27"
        RETURN "You don't say."
    CASE nRandNumber $ "38"
        RETURN "That's interesting"
    CASE nRandNumber $ "49"
        RETURN "Hmmmm"
    CASE nRandNumber $ "50"
        RETURN "OK"
ENDCASE
Paul G Brown, MCSD
Paul G Brown
paul@paulgbrown.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform