Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax for IF STATEMENTS
Message
From
05/02/2003 21:16:40
Alfred Roa
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
 
 
To
04/02/2003 20:20:35
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00749162
Message ID:
00749683
Views:
22
Just do the following, this is what we call a nested if statement.

if code = "A"
if ag e=> 55 and age < 65
Valid Statement
Else
if age => 65 and age < 74
Valid Statement
Else
if age > 75
Valid Statement
else
if age < 55
Valid Statement
endif
endif
endif
Endif
Else
Valid statement for case B
Endif


Just want to help and want to have more programmer friend. :>)
Previous
Reply
Map
View

Click here to load this message in the networking platform