On Wednesday 29 August 2007, Raymond Bosman wrote:
> On Wednesday 29 August 2007 16:35, Frederik Holljen wrote:
> > > 3. Solution 4: globals, *does* specify which variables are available.
> > > ({global $a, $b, $c} not {global $send})
> >
> > No it specifies which one it uses. Not which ones are actually possible
> > to use (available).
>
> It specifies which variables are available in the template. The {use} line
> makes sure that those variables are set. If not an Exception is thrown.
>
> To know all possible variables available for use is run-time information.
> The user application can always decide to send extra 
right afaik, this is bad practice I'd say though....

> or omit some variables 
> to the template.
wrong? you can't not send variables that have a {use} declaration (I 
hope...)...

Frederik
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to