October 12th, 2000, 12:22 PM
im having some problems with a block of code and could do with some help. i am doing a simple nested if statment following the lines of:
however i need to have another method of entering the "do stuff" section. the elseif command would work but as it's a nested if statement it would be very untidy. I was thinking of using the or logical operator but cannot get it to work. Can anyone tell me what im doing wrong or if what i am trying to do cannot be done at all?
the way im currently using the or operator is:
on another issue.. is their another way of achieveing the same result as the if statement shown above but more compact?
thanks in advance
October 17th, 2000, 05:19 AM
I think it should work if you use "| |" (no space between them) or you could use "or".