“程序”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
 
(未显示同一用户的8个中间版本)
第6行: 第6行:


[[程序自我调用]]
[[程序自我调用]]

[[程序中的控制语句]]


[[IDL script]]
[[IDL script]]
第11行: 第13行:
[[common 模块]]
[[common 模块]]


==子程序调用中的bug==
[[IDL子程序]]

*自己写的子程序(function or pro)的首字母不能大写,不然'Doc_library'和‘[[resolv_reoutine]]'无法调用
[[IDL中的微分和积分程序]]

==编译选项==
*compile_opt,idl2,hidden
:idl2使得程序的默认整数变成32位(long)的,比较有用
:hidden,从help路径里面隐藏一些小的子程序

*on_error,2
:0 Stop immediately at the statement in the context of the procedure or function that caused the error. This is the default action.
:1 Return to the main program level and stop.
:2 Return to the caller of the program unit that called ON_ERROR and stop.
:3 Return to the program unit that called ON_ERROR and stop.

2017年1月3日 (二) 07:19的最新版本

Fortran程序调用

关键词继承

系统调用spawn

程序自我调用

程序中的控制语句

IDL script

common 模块

IDL子程序

IDL中的微分和积分程序

编译选项

  • compile_opt,idl2,hidden
idl2使得程序的默认整数变成32位(long)的,比较有用
hidden,从help路径里面隐藏一些小的子程序
  • on_error,2
0 Stop immediately at the statement in the context of the procedure or function that caused the error. This is the default action.
1 Return to the main program level and stop.
2 Return to the caller of the program unit that called ON_ERROR and stop.
3 Return to the program unit that called ON_ERROR and stop.