hi Ali, it is tricky to solve this issue (and similar problems) with eval, since the eval miniprogram will always be compiled after variable substitution. If you want to have a more bulletproof solution, the simplest way is to use an anonymous function instead of a miniprogram -- compile the function body with eval at SEC startup, and then use call action with $1 as input parameter. If you don't want to have a separate rule for compiling the function at SEC startup, you could use a context expression $1 ->(...) for producing the desired effect. kind regards, risto
> Hello, > > I saw in the sec man page that we could create and set > variables > concatenated with values e.g. eval %p ( > $count_users_$2='1';) . > > My problem is what if the value of $2 has a "$" sign in it > e.g. doe$. > The value will be $count_users_doe$, which is unacceptable > under perl > laws. > > Is there any suggested way to solve this? > > > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use > the > Plug-In Development Kit to bring their C/C++ apps to Palm > for a share > of $1 Million in cash or HP Products. Visit us here for > more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Simple-evcorr-users mailing list > Simple-evcorr-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users