|
A new Flow Control Statment SELECT / USE / ELSE USE / END SELECT when one Expression is true and ready with work, then it moves to END SELECT, no other comparsion will be made. Look in the generated Pascalsource to see what it does.
SELECT myString ........... MainValue for Expression can be all what you want ( String,Integer, Byte, Char....) USE 'ABC' {your Code} {your Code} ............ so many rows if you want USE 'XYZ' {your Code} {your Code} ............ so many rows if you want USE 'Nothing' {your Code} {your Code} ............ so many rows if you want ELSE USE {your Code} {your Code} ............ so many rows if you want END SELECT
You can but must not use ELSE USE. |