You're right, arg_present() is a much better way of doing it. Unfortunately, most of our software was written before IDL/v5. Even more unfortunately, we're still required (at present) to write to version 4.0. Thanks, though. Bill Thompson