On Sun, 7 Aug 2011 22:32:12 +0100
"Josh" <[email protected]> wrote:
> i have posted this some 2 times, and havent got any reply:
> does any one no what is up with this script?

It might be because you're being told exactly what the issue is.

> here is what i get from ssh:
> Line 15, char 78 before "]": Parse error! 

> music = 
> fallback([switch([({3h-12h},smooth),({12h-21h},pop),({21h-3h},techno])])

It's a parsing, or syntax, error.  Let's break it down with some
indentation and spacing to help see what's going on:
music = fallback(
   [switch(                    <- start switch
      [                        <- start switch body
         ( {3h-12h}, smooth ),
         ( {12h-21h}, pop ),
         ( {21h-3h}, techno ])  <- ummm, what?
   ] # end switch
)

The parser fell over at the right square bracket at char 78 because
it's not supposed to see it yet.

-- 
======================================================================
       Joe Hartley - UNIX/network Consultant - [email protected]
 Without deviation from the norm, "progress" is not possible. - FZappa

------------------------------------------------------------------------------
BlackBerry&reg; 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