User`s manual

12. Appendix B – Hydra scripting language definition v1.0
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
____________________________________________________________________________________
12-9
list
list operation result [par1] [par2]
The following operations are available:
Operation Description
init create a new list in result
+
concat lists in par1 and par2 in list result, concat list in par1 with element par2 in list
result
get
get element par2 (index from 0 to number of elements minus one) of list in par1 in
result
total get total number of elements in list par1 in result
Table 12-3
Operations of list command
goto
goto condition label
Jump to label if boolean condition is true.
gosub
gosub condition label
Jump to (subroutine) label if boolean condition is true.
return
return
Return from a gosub or stop script if used in main.
sleep
sleep seconds:
Wait a number of seconds.
date
date day month year
Get date in day, month and year (4 digits).
time
time hour min sec
Get time in hour, min and sec.
timer
timer seconds
Get time in seconds (can be used to create sleep).
output
output string
Add string to script output (after execution).