[ic] Accessing variables defined in the catalog.cfg
jon at endpoint.com
Mon Oct 25 12:44:47 EDT 2004
On Mon, 25 Oct 2004, Boyer, Jim wrote:
> I know this should be simple but I sure can't figure it out. I am
> setting a variable in my catalog.cfg as such:
> Variable WINHOST True
> I am not having success reading this variable in the receipt.html page.
> I can print out the value of the variable, but I want to make a decision
> on the value of the variable. I have tried the following but without
> success. I have not found examples of this in the docs, but I could
> have easily missed them.
> [if __WINHOST__ ]
> [if __WINHOST__ eq True]
> [if @_WINHOST_@ eq True]
> [if [var WINHOST] eq True]
> What am I doing wrong with this simple test?
[if variable WINHOST]
End Point Corporation
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...
More information about the interchange-users