Instead of using the �defined� I can use the �exists�. The problem is if the tmpl_var is inside a tmpl_loop.
Can I have access to the tmpl_var there? thanks MArcos > On Wed, Dec 11, 2002 at 10:07:48AM +0000, Marcos Rebelo wrote: > >I would like to be worn if a tmpl_var was not didn?t exist in the param > > >Is that possible? > > Not in the case where you've set a parameter to undef, as far as I can > see, but it shouldn't be too hard otherwise. Just walk the template > (start with the result of $tmpl->param) and check each parameter with > defined(). > > Roger > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Html-template-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/html-template-users -- 10Mb na sua caixa de email gratuita no mail.pt http://www.mail.pt ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users
