📄 ierror.3
字号:
.th IERROR III 10/29/73.sh NAMEierror \*- catch Fortran errors.sh SYNOPSIS.ft Bif ( ierror ( \fIerrno\fB ) .ne. 0 ) goto \fIlabel\fR.sh DESCRIPTION.it Ierrorprovides a way of detecting errors during the running of a Fortranprogram.Its argument is a run-time error numbersuch as enumerated in.it fc(I)..s3When.it ierroris called,it returns a 0 value; thus the.bd gotostatement in the synopsis is not executed.However, the routine stores inside itself thecall point and invocation level.If and when the indicated error occurs,a.bd returnis simulated from.it ierrorwith a non-zero value;thus the.bd goto(or other statement)is executed.It is a ghastly error to call.it ierrorfrom a subroutine whichhas already returned when the error occurs..s3This routine is essentially tailored tocatching end-of-file situations.Typically it is called just before the startof the loop which reads the input file,and the.bd gotojumps to a graceful termination of the program..s3There is a limit of 5 on the numberof different error numbers which can be caught..sh "SEE ALSO"fc (I).sh BUGSThere is no way to ignore errors.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -