Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DON'T LET THE USERS PAY
Message
From
01/10/1998 06:19:58
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00142038
Message ID:
00142715
Views:
33
Jim,

I'm aware of this.
I'm used to use DO CASE in various way's for example:

IF OpenDBFExlusive ("test.dbf","Alias")
DO CASE
CASE TYPE("alias." +Field(1,"Alias") )="N"
cType="Numeric"

CASE TYPE("alias." +Field(1,"Alias") ="C"
cType="Character"

CASE TYPE("alias." +Field(1,"Alias") ="G"
cType="General"
ENDCASE
ENDIF

could be rewritten in:
DO CASE
CASE !OpenDBFExlusive ("test.dbf","Alias")

CASE TYPE("alias." +Field(1,"Alias") )="N"
cType="Numeric"

CASE TYPE("alias." +Field(1,"Alias") ="C"
cType="Character"

CASE TYPE("alias." +Field(1,"Alias") ="G"
cType="General"
ENDCASE
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform