[ic] Still Clueless
Mike Heins
interchange-users@interchange.redhat.com
Thu Aug 30 09:54:01 2001
Quoting chad m. townsend (chad@hq.mycity.com):
>
> conditional stmts. inside theme.cfg
>
> i have a Variable named STYLE that the admin can change in the
> Preferences area. in theme.cfg i would like say something like this:
>
> ifdef @STYLE =~ /red/i
> Variable BACKGROUND #rgb_code
> endif
>
> ifdef @STYLE =~ /blue/i
> Variable BACKGROUND #rgb_code
> endif
>
> etc. sorta like they do for traffic:
>
> ifdef @TRAFFIC =~ /low/i
> Pragma dynamic_variables
> endif
>
> what i'm i doing wrong? it's prob my syntax any help = mucho gracias
>
Sorry, you will be removed from the list if you keep sending the same
message to it 8 times.
ifdef STYLE =~ /red/i
Variable BACKGROUND #rgb_code
endif
ifdef STYLE =~ /blue/i
Variable BACKGROUND #rgb_code
endif
@ is for global variables.
--
Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon