Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Mike Dershowitz
  Where is Mike Dershowitz?
 Philadelphia
 Pennsylvania - United States
 Mike Dershowitz
 Tags
Subject: Nesting If's in case statements
Thread ID: 501 Message ID: 501 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Friday, June 01, 2001 1:08:26 PM         
   


I am trying to nest if's within a case in vfp5, and I am getting a "missing required clause" error, or a "error in docase...endcase" statement. Here is the code:

do case
case questionres = 6
return
case questionres = 7
do mainfunction
case questionres = 2
endmes = messagebox ("Are you sure you want to quit?", 4 + 48, "Quit!?!")
if endmes = 6
quit
else
continue
end if
otherwise
return
endcase

Thank you in advance for any help you might be able to provide.

Mike


ENTIRE THREAD

Nesting If's in case statements Posted by Mike Dershowitz @ 6/1/2001 1:08:26 PM
RE: Nesting If's in case statements Posted by Eric den Doop @ 6/1/2001 1:17:25 PM
RE: Nesting If's in case statements Posted by Paul Culbertson @ 6/1/2001 4:15:47 PM