Hi Josh,

Romain's advice was very good. Your script may work now, but if you
haven't understood why it didn't work at first, then you might waste
your time on the same issue tomorrow.

The error message sounded like an improperly opened/closed string. For example:

$ liquidsoap -
print(this is "it")
Line 1, char 19 before "\"it\"": Parse error!

In liquidsoap strings are delimited by either simple our double quotes
(' and "). If a string is delimited by double quotes, you have to
escape inner quotes that you want to put in the string, for example
"He says \"foo\".". Same goes for simple quotes: 'He said \'foo\'.'.
Mixing the two avoids some escaping: 'He said "foo"' and "He said
'foo'" are two valid strings.

Hope this helps,
-- 
David

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to