Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Peter Rolf
Elliot Clifton schrieb: > Hi Peter, > > Thanks for your reply. I think I may have misunderstood the variable > section on the wiki. I been using \setvariable to both declare and > assign variables from my component files. When I should have been > declaring them in the environment file first, righ

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Hans Hagen
Aditya Mahajan wrote: > On Sun, 27 May 2007, Elliot Clifton wrote: > > >> Hi Peter, >> >> Thanks for your reply. I think I may have misunderstood the variable >> section on the wiki. I been using \setvariable to both declare and >> assign variables from my component files. When I should have bee

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Aditya Mahajan
On Sun, 27 May 2007, Elliot Clifton wrote: > Hi Peter, > > Thanks for your reply. I think I may have misunderstood the variable > section on the wiki. I been using \setvariable to both declare and > assign variables from my component files. When I should have been > declaring them in the environme

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Elliot Clifton
Hi Peter, Thanks for your reply. I think I may have misunderstood the variable section on the wiki. I been using \setvariable to both declare and assign variables from my component files. When I should have been declaring them in the environment file first, right? \setvariable[namespace][key=Defau

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Peter Rolf
Hi Elliot, Elliot Clifton schrieb: > Hi, > > How can test whether a variable has been set? I couldn't find any > reference to this in the wiki? > What do you mean by "set"? I use \doifnothing{\getvariable{foo}{bar}} {foo:bar contains nothing.\par}% \doifsomething{\getvariable{foo}{bar}} {fo

[NTG-context] Test whether variable has been set

2007-05-27 Thread Elliot Clifton
Hi, How can test whether a variable has been set? I couldn't find any reference to this in the wiki? TIA, Elliot ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : nt