yasnippet/extras/imported/f90-mode/Input/Output/Close File.yasnippet
2009-08-29 17:59:02 +00:00

8 lines
221 B
Plaintext

# -*- mode: snippet -*-
# key: close
# contributor: Translated from TextMate Snippet
# name: Close File
# --
close(unit=${1:iounit}, iostat=${2:ios}${3:, status="delete"})
if ( $2 /= 0 ) stop "Error closing file unit $1"