Dim ArrRoles(2) As String
ArrRoles(0)="Cameriere"
ArrRoles(1)="Titolare"
Dim ret As Int
ret=Popup(ArrRoles,"Role")
Sub Popup (Arr () As String, Title As String) As Int
Dim RolePop As id 'Id is a library that implement a popup
Dim lstChoice As List
Dim ret As Int
lstChoice.Initialize
lstChoice.AddAll(Arr)
ret = RolePop.InputList1(lstChoice,Title)
Return ret
End Sub