Hi folks, Can anyone tell me if the following code will work okay? Don't worry about syntax errors etc, my main question is about the If defined , in the middle of the if statements. If mode =1 then code code Elseif mode=2 then code code #IfDEF bad Elseif mode=3 then code code endif thanks, Ken Moore NSCC-Wdrf Plant ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave