pro test,arg1, arg2, key1=key1, key2=key2, keyin1=keyin1 if keyword_set(key1) then print,'blah' if keyword_set(key2) then print,'plah' if keyword_set(keyin1) then begin arg1=arg1+keyin1 endif arg1=arg1+5 arg1=arg1+10 stop ;USE .CONT to continue from the command line if the program has stopped. end