2009-08-29 17:59:02 +00:00

8 lines
236 B
Plaintext

# -*- mode: snippet -*-
# key: read
# contributor: Translated from TextMate Snippet
# name: Read
# --
read(unit=${1:iounit}, fmt="(${2:format string})", iostat=${3:istat}) ${4:variables}
if ( $3 /= 0 ) stop "Read error in file unit $1"