Check out http://hobbes.king.ac.uk/matt/pic/logic.html for some neat compare functions. Joe ______________________________ Reply Separator _________________________________ Subject: compare/if/then Author: pic microcontroller discussion list at SMTP Date: 11/22/96 2:54 AM Hi, does anyone have any macros for 'IF THEN' statements and also a compare function. Thanks in advance, Brian.