echo "ivar=#1" >> ivar.pro
idl <<EOF
@ivar.pro
print,'x=',ivar
;
EOF
