Could you set nFooo to a number (1, 2, 3, 4 etc.) for which of several options you want to set Fooo to, then test nFooo (not Fooo)? Mark Ernie Murphy wrote: > > I'm trying to set up some conditional compilation under Microchips' MPLAB. > What I would like to do is SET a label to a text string, then later compare > it to a list of values. Something like this: > > 1 FOO SET "HELLO" ; OPTIONAL STATEMENT TO CONTROL COMPILATION > 2 > 3 IF FOOO = "HELLO" > 4 { DO SOMETHING} > 5 ENDIF > > If I try the above, I get an error on lines 3 & 4 since I used more then 1 > character. Is there a way to use character strings like this? TIA.