in reply to an odd if then statement

use eq instead of ==...
== is to compare numbers, but 40+15 is actually a string, so you need eq...

Update 40+15 in quotes is a string, without quotes it would be the number 55, but you are matching it to the string '40+15' in your variable...

                - Ant

Replies are listed 'Best First'.
Re: Re: an odd if then statement
by sologretto (Initiate) on Jul 23, 2001 at 21:29 UTC
    Thanks MUCH all :-)