PL\1 uses the "=" symbol differently depending on context. It's either an assignment statement e.g. A=1 or it can be used in an If test e.g. If A=1 then B else C. That's assuming I've remembered it correctly, it's 15 years since I last used PL/1 :-) Mark Tiller. "To iterate is human, to recurse divine"