How can I put a comment in a Helm script?


Comments are a useful way to document your scripts

For ‘classic’ Helm scripts, put a semicolon as the first character. Blank lines are also ignored

; Route Channel 5 video to the monitor wall

ROUTER1:TakeRoute(5,15)

For Lua scripts, two dashes at the start of a line indicate a comment. The ‘–lua’ comment is a special one that Helm uses to recognise Lua scripts.

--lua

-- Route Channel 5 video to the monitor wall

helm.exec("ROUTER1", "TakeRoute", 5,15)
Tagged with:
Posted in HELM, Scripting