Fortran-lang/stdlib
贡献和规范
源文件
模块
过程
抽象接口
派生类型
stdlib_error
模块
28条语句
源文件
stdlib_error.f90
stdlib_error
内容
接口
error_stop
子程序
check
提供对捕获和处理错误的支持(
规范
)
使用
iso_fortran_env
stdlib_optval
被…使用
后代
f08estop
f18estop
接口
接口
公共模块子程序 error_stop(msg, code)
提供对
error stop
的调用,并允许用户指定代码和消息(
规范
)
参数
类型
意图
可选
属性
名称
character(len=*),
intent(in)
::
msg
integer,
intent(in),
optional
::
code
子程序
公共子程序
check
(condition, msg, code, warn)
许可证
版本
实验性
检查逻辑条件的值(
规范
)
阅读更多…
参数
类型
意图
可选
属性
名称
logical,
intent(in)
::
condition
character(len=*),
intent(in),
optional
::
msg
integer,
intent(in),
optional
::
code
logical,
intent(in),
optional
::
warn