forums

TNT Basic Forums > Programming Q&A
Simulating case switch flow control ??
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-09-2003 03:21

Posted by:
eLL

Click Here to Email eLL   Find more posts by eLL


My question,

what flow control, best simulates the "case switch" statement ?

02-09-2003 14:10

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

Switch can be replaced by IF:

if a=1
'actions

else if a = 2
'actions

else if a = 3
'actions

else if a = 4
'actions

end if

02-09-2003 14:10

Posted by:
someone

Location:
Quebec ( Canada )

Click Here to Email someone   Find more posts by someone

Switch can be replaced by IF:

if a=1
'actions

else if a = 2
'actions

else if a = 3
'actions

else if a = 4
'actions

end if

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.