Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO or If
Message
 
 
To
09/09/2004 21:46:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00940916
Message ID:
00940919
Views:
14
To check some conditions you would use IF.
if startdate > enddate then
  messagebox("whatever...)
ELSE
  * Do something
endif
>I think I'm close, I need to do a check before continue on to next step, if I use a Do while I get into a loop I can't get out of and if I use IF it continues on.
>
>I have a start date that needs to greater than the end date so here are the ways of written:
> Thanks
>
>if startdate > enddate then
> messagebox("whatever...)
>endif
>
>do while startdate > enddate
> messagebox("whatever...)
> loop
> exit
>enddo
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform