I get "Argument count error: append wanted 2, got 1" as the answer, the debugger doesn't not seem very remunerative but it could just be my simple misunderstanding, the code is below, written by me, please let me know if anyone could help me out with this...
toolTip:"Net Render Controller"
global jobs_list = #()
global server_list = #()
rollout listOfJobs "list of jobs"
button connectbtn "connect"
on connectbtn pressed do (
Manager = NetRender.GetManager()
Manager.connect #manual "100.100.100.18"
jobs = Manager.GetJobs()
servers = Manager.GetServers()
jobs_list = for i in jobs collect (i.name)
server_list = for i in servers collect (i.name)
jobList.items = append jobs_list
serverList.items = append server_list
button disconnectbtn "disconnect"
on disconnectbn pressed do (
listbox serverList.array = #()
listbox jobList "Jobs:" items:(jobs_list)
listbox serverList "Servers:" items:(server_list)