# -*- mode: snippet -*- # key: open # contributor: Translated from TextMate Snippet # name: Input File # -- open(unit=${1:iounit}, file=${2:name}, iostat=${3:ios}, status="${4:old}", action="${5:read}") if ( $3 /= 0 ) stop "Error opening file ${2/[\"\'](.*)[\"\']/$1/}"