Home > lang > choose 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Choose
Value = Choose ( Choice , Result1 , Result2 [ , ... ] )

This function returns the value of one of its Result #i arguments, according to the value of Choice.

Example

X = 3
PRINT Choose(X, "one", "two", "three", "four")

three

X = 3
PRINT IsNull(Choose(X * 2, "one", "two", "three", "four"))

True

See also

Test Control Structures & Functions