Ok ; thanks for the reply.
Maybe an error thwon in the log could be usefull too.

Just a question: is there any reason for sichi limitation, or it is more an
arbitrary choice for APE ?


Thanks.

Nouk²


2010/3/1 Nicolas Trani <[email protected]>

> We forgot to mention that in the documentation : the char "-" is not
> authorized in channel names. Only a-Z and 0-9 are allowed. I just
> updated the documentation.
>
> Cheers.
> nouknouk wrote:
> > Hi;
> >
> > I have some code to instanciate a 'global' variable, like:
> >
> > var lobby = Ape.mkChan("lobby");
> >
> > ...and it works perfectly.
> >
> >
> >
> >
> > In another part of my server side javascript, i wrote:
> >
> > var nextGameId = 1;
> > Ape.registerCmd("iWantToPlay", true, function(params, infos) {
> >                 var gameId = nextGameId++;
> >               var game = Ape.mkChan("game-"+gameId);
> >               if (!game) {
> >                       Ape.log("ERROR: just created game
> '"+"game-"+gameId+"'
> > undefined !!!");
> >                       return 0;
> >               }
> > });
> >
> > ... and i get the error log.
> >
> > What's happening ?
> >
> > Thanks in advance;
> >
> >
>
>
> --
> Nicolas Trani - Web engineer
> Weelya - Improve the web
> 32 rue du faubourg boutonnet
> 34090 Montpellier
> Tel: 04 67 169 778 - Fax: 09 57 91 99 91
> http://www.weelya.com
> http://www.ape-project.org
>
> --
> You received this message because you are subscribed to the Google
> Groups "APE Project" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<ape-project%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/ape-project?hl=en
> ---
> APE Project (Ajax Push Engine)
> Official website : http://www.ape-project.org/
> Git Hub : http://github.com/APE-Project/
>

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to