in reply to Re: Is this an efficient way check for certain conditions?in thread Is this an efficient way check for certain conditions?