I just use that today: == "$GCLBUG" "WP0001" dmcmd msglin "option1" else \ == "$GCLBUG" "WP0002" dmcmd msglin "option2" else \ dmcmd passwd Regards, Sander > I need to allow, or disallow an action in a dmcmd script based upon a > condition. The existing dmcmd script is multi line, and the conditional > actually needs to test for 2 different condtions to be false before > allowing the exisitn script to run. I realize that I could do this with 2 > new dmcmd files, something like this: > > new_file 1 IF conditioan A is flase call new_file2 > new_file2 if condition 2 is false call existing file > > But doing it thta way would mean touching a lot of graphics that call the > existing file. What I would really like to do is to add something like > this > to the existng file: > > dmcmd != A $TEST_VAL > else > dmcmd != B $TEST_VAL > else > existing code goes here > > Or maybe > > dmcmd == A $TEST_VAL exit > dmcmd == B $TEST_VAL exit > existing code goes here > > Can I do this in dmcmd? If so what does the syntax look like? If not, does > anyone have an alternate dusgestion as to how to acomplish this WO lot's > of > edits to the graphics? > > > -- > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > > _______________________________________________________________________ > 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 > > _______________________________________________________________________ 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