Forum Post: &Defines - &why &doesn't &this &work?

  • Thread starter Thread starter Tim Kuehn
  • Start date Start date
Status
Not open for further replies.
T

Tim Kuehn

Guest
I'm doing some work with &define's, and I've got a scenario which I think _should_ work but doesn't. This is the code: &scoped-define test "integer" &if defined(test) &then message "hello1". &endif &if {&test} = "integer" &then message "hello2". &endif /* this works */ &if defined(test) &then &if {&test} = "integer" &then message "hello3". &endif &endif /* this doesn't - shouldn't it? */ &if defined(test) and {&test} = "integer" &then message "hello3". &endif

Continue reading...
 
Status
Not open for further replies.
Back
Top