[ic] re: conditional stmts. inside theme.cfg

chad m. townsend interchange-users@interchange.redhat.com
Wed Aug 29 18:32:00 2001


somehow i got the wrong subject on the first one :)

"chad m. townsend" wrote:
> 
> 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
> 
> ./chad&