Def &False 0
Def &True 1
Declare hWin&, hCombo&, Quit&,Arbeiter&
hWin& = @Create("Window", %hWnd, "ChoiceBox", 0, 0, 320, 200)
If hWin&
hCombo& = @Create("ChoiceBox", hWin&, "", 10, 10, 280, 150)
WhileLoop 1, 10, 1
Arbeiter&=ReadText &loop,"Arbeiter.txt"
@AddChoice(hCombo&, "Arbeiter " + @Str$(Arbeiter&))
EndWhile
Quit& = &False
Repeat
WaitKey
If %Key = 2
Quit& = &True
EndIf
Until Quit& = &True
EndIf
'-End-------------------------------------------------------------------
End