Home > Available Help Files > PC-DMIS BASIC Language > Language Reference A – Z > Choose Function > Example - Choose Function
Current Help File: PC-DMIS Basic (View Core Help)
Example - Choose Function
Sub Main()
number = 2
GetChoice = Choose(number, "Choice1", "Choice2", "Choice3")
MsgBox GetChoice
End Sub