Mastiff
January 9th, 2005, 08:00 AM
I have spent this weekend making crank calls on my free IP phone and messing around with my multi-zone system. I have one problem (in addition to angry people being bugged...), and that is Line-In volume (used with an external TV card to get the TV sound through any zone at any time). The LUA is this:
if GetLine-InMute (CC00) == 0 then
SetLine-InMute (1)
else
end
And the error is this:
error: `=' expected;
last token read: `-' at line 2 in string "?"
I know why it's happening: LUA can't handle a dash as a part of a variable, so this would probably happen with spaces as well, they will be taken as two variables (how do I for instance mute CD Digital?). But how do I mark it as part of the variable?
if GetLine-InMute (CC00) == 0 then
SetLine-InMute (1)
else
end
And the error is this:
error: `=' expected;
last token read: `-' at line 2 in string "?"
I know why it's happening: LUA can't handle a dash as a part of a variable, so this would probably happen with spaces as well, they will be taken as two variables (how do I for instance mute CD Digital?). But how do I mark it as part of the variable?