Hello All, I'm trying to find commonly used math expressions in my PIC programming. How do the majority accomplish the following: if a>b call greater_than if ab call eq_or_gr if a=b AND c>d then call _and_ if a>b OR c>d then call _or_ What I'm using right now is a rather terse method of writing a single bit then refering to it to check for 'and'/'or'. Could someone please mail me some code explaining the above? Thanks in advance. Gerry