User`s manual

12. Appendix B – Hydra scripting language definition v1.0
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
12-18
12.3.2 Fullscreen script
Show first source without error fullscreen
module this
load "full"
:loop
state this
expr set source 0
:loop2
source source
error test
expr = test test 0
goto test cont
expr + source source 1
expr < test source 30
goto test loop2
:cont
select 1
set "source" source
set "umdtext" source
update this
sleep 1
goto 1 loop
12.3.3 List script
Demonstrates some list operations
list init list
list + list list "hello"
list + list list "world"
output list
list init list2
list + list2 list2 "A"
list + list2 list2 "B"
list + list2 list2 "C"
output list2
list + list list list2
output list
list total c list
output c
:loop
expr - c c 1
list get res list c
message res
expr > test c 0
goto test loop