摘要:
通过IDL多线程,进行两个数相加为例 1. 相加函数如下 function add, a, b return, a+b end 2. 主线程函数如下,通过新建分线程调用相加函数,如果线程运行结束,则输出结果 pro thread_test compile_opt idl2 this_pro_path 阅读全文
posted @ 2020-09-07 13:47
lqqgis
阅读(825)
评论(0)
推荐(1)
摘要:
IDL> str = 'thick_awi_20120304_v2' ; str可以是数组 IDL> print, STREGEX('thick_awi_20120304_v2', '_([0-9]{8})_', /SUBEXPR,/extract) _20120304_ 20120304 执行下面 阅读全文
posted @ 2020-09-07 13:45
lqqgis
阅读(353)
评论(0)
推荐(0)
摘要:
IDL 程序分两类:过程 pro 和函数 Function, 最大区别是函数有返回值 pro add,a,b print,a+b end function add,a, b return,a+b end 1 .compile .run .rnew 编辑 IDL 编译程序有.compile .run 阅读全文
posted @ 2020-09-07 13:42
lqqgis
阅读(1695)
评论(0)
推荐(0)