at documenting the library api, but it is the first source for everything idl. 使用在线帮助。现在所有的文件都是在线的,并且所有的平台都可以很好的浏览。可以通过在idl提示窗口键入?来进入。它在api库归档方面做的相当好,更是全部idl的第一来源。 tip 9 if you're on unix, consider using idlwave. the current idl development
environment is "somewhat lacking." if you want more than just a commandline interface, try emacs with idlwave mode installed. emacs traditionally has a steep learning curve, but if you're not really tied to an editor right now, it's probably worth learning. 如里你用的是unix平台,考虑用idlwave。目前的idl开发环境存在一些“罅隙”。如果你要的不只是一个命令行界面,在idlwave模式安装下试试emacs,emacs据说有陡峭学习曲线,但如果你不是现在就想完全依*编辑器的话,它还是值得学习的。
tip 10 have a style. a style will give you guidance in many of the things that idl doesn't care about: names of variables/routines, capitalization, indentation, comments, etc. unfortunately, rsi ittvis doesn't provide a style since the library routines are written in a myriad of styles. there are some third party style guidelines.
有规范的格式。规范的格式会在很多idl不敏感的事情上成为你的向导。如变量或指令的名字,大小写,缩进,注释等。遗憾的是rsi ittvis没有提供统一格式,因为库程序是用很多不同格式写的。有一些是第三方格式标准。
tip 11 learn to use the debugger. the debugging environment is a main advantage of the interactive nature of idl. it can be used from the command line or the de (although, i must confess that i like to push buttons in the de in this respect of programming). one key point here is that runtime errors drop the command line to the level of the offending statement. you can enter idl statements at the command line as if they were in the original program. this is really handy in examining the situation to find the error.
学会用调试程序。调试环境是idl交互特点中的一个主要优势,它可以通过命令行或开发环境实现(虽然在编程这方面我必须承认我喜欢在开发环境中通过按钮来实现)。这里关键的一点是运行时的错误会使得命令行返回到表达式有问题的地方。你可以在命令行输入idl表达式,就好像他们原本就在最初的程序中。这对于检测环境找出错误所在非常有用。 tip 12 use single quotes for strings. both single and double quotes are valid for literal strings, but double quotes have some extra odd uses, like specifying integer values in octal. so for instance, in the following
idl> age = "22 years"
age = "22 years"
^
% syntax error.
idl thinks that "22 (octal 22 or decimal 18) is being assigned to age. to bypass this mess, just always use single quotes for strings.
用单引号表示字符串。单引号和双引号都可以表示字符串,但双引号有一些其它不同的用途,如在八进制里指定整型值。所以在有些情况下,如:
idl> age = "22 years"
个小技巧使你的书桌整齐有序,学习更加高效》 《12 个小技巧使你的书桌整齐有序,学习更加高效》生活常识 2010-08-04 22:25:27 阅读 259 评论 9 字号:大中小...
这里有12个小技巧帮你快速整理你的书桌_其它_高等教育_教育专区。这里有12个...这是个共识, 但是按美观来整理书桌却比按使用性更容易操作,两者皆可,随 你...
引导语:现在每天使用电脑的人时间越来越长,长时间用完电脑后,很多情况下都会感到头晕 天给大家分享 2 个小技巧,让大家从此健健康康地用电脑,再也不怕长时间用...
编后语:以上12个小小的技巧,能帮助我们更加 健康的去用电脑,每一个需要长时间用电脑的朋友都 应该收藏一份,也可以将这些小小的技巧,告诉自己 的朋友或家人,让...
12个小技巧使你的书桌整齐有序_生产/经营管理_经管营销_专业资料。管理小技巧12 个小技巧使你的书桌整齐有序,学习更加高效 1. 拿走你不用的钢笔和铅笔 一般...
12 个小技巧让你健健康康用电脑,长时间用电脑必备引导语:现在每天使用电脑的人时间越来越长,长时间用完电脑后,很多情况下都会感到头 晕,眼睛累等情况,那么,今天...
12个小技巧帮你整理书桌_互联网_IT/计算机_专业资料。生活小常识12 个小技巧帮你整理书桌拿走你不用的钢笔和铅笔 博华一般写字只用一种钢笔,但是每个月我 都会...
第七章 图形硬拷贝输出本章概要在使用 IDL 的时候,如何以硬拷贝形式再现屏幕中...有个技巧可以用于强制让 PostScript 文件前进一页,这就是使用 Erase 命令。如果...
书中后面的几章编程教程是建 立在前面几章中讲过的概念和技巧的基础上的。 IDL 所需的版本希望读者在学习本书时使用的是最新的 IDL 版本。本书写作时使用的...
怎样在图形显示技巧中使用 Z 图形缓冲区 将光标用于图形显示数据可视化显示的原因...这种交互作用在 IDL 中用 Cursor 命令很容易完成。 用 LoadData 命令装入 Time...
热门文档