CHOOSE (<index>, <choice-1>[, <choice-2>, ... [, <choice-n>]])

Selects and returns a value based on the index variable.

LMonth=3

PRINT “The month is “;CHOOSE(lMonth,”Jan”,”Feb”,”Mar”,”Apr”)

Siehe auch: Flow Control

Referenz - Startseite