Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changes codes into one line
Message
From
21/07/2008 09:14:23
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01332701
Message ID:
01332761
Views:
7
>Hi all, these can be write in one line. thanks
>
>
>IF EMPTY(tmonth)
>=MESSAGEBOX(' Month is empty')
>thisform.month.setfocus
>RETURN 0
>
>***********
>
>iF EMPTY(tmonth),=MESSAGEBOX(' Month is empty') thisform.month.setfocus RETURN 0
>
>
>ENDIF
Even if you can put it all in one line, you shouldn't. It's bad design and makes it harder to maintin your code.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform