Software >> OS >> OpenVMS >> DCL >>  How to test whether an argument was passed

$ if "_''p1'_" .eqs. "__" $ then $ write sys$output "display syntax" $ else $ write sys$output "else run with arg ''p1'" $ endif