summaryrefslogtreecommitdiffstats
path: root/software
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2010-01-18 12:14:37 -0500
committerbnewbold <bnewbold@ziggy.(none)>2010-01-18 12:14:37 -0500
commit01b39987ec789c21cf368a5a883ac407f9daedd7 (patch)
tree95884a915868da76681760b306802b6de6bdd742 /software
parent39d44e2d65d40804e28947f4e5cc66b35c5a3b8d (diff)
parent57ddf14ce8f4216d59f9983c5b02a021f95615a7 (diff)
downloadknowledge-01b39987ec789c21cf368a5a883ac407f9daedd7.tar.gz
knowledge-01b39987ec789c21cf368a5a883ac407f9daedd7.zip
Merge branch 'master' of daemon.robocracy.org:/srv/git/knowledge
Diffstat (limited to 'software')
-rw-r--r--software/idl.page33
1 files changed, 28 insertions, 5 deletions
diff --git a/software/idl.page b/software/idl.page
index 00b444a..78e41b3 100644
--- a/software/idl.page
+++ b/software/idl.page
@@ -1,7 +1,7 @@
---
format: rst
categories: software
-toc: yes
+toc: no
...
==================
@@ -24,12 +24,29 @@ Syntax
-----------------
Procedures are called with a comma seperated list-like syntax where the first
-element is the procedure and the following elements are arguments.
+element is the procedure and the following elements are arguments.
-Command Interface
------------------
+The ``!`` character as a prefix is used to designate system variables.
+
+``;`` is used for commenting.
+
+``.`` can be used to start executive commands,
+Indicate constant is floating point
+Start executive command
+
+``&`` separates multiple statements/expressions on a single line (like ``;``
+often does in other languages).
+
+``*`` can be used for pointer dereferencing, as well as for multiplication
+and a wild card in array slicing.
-Instead of the ever-standard ``!`` to execute system commands, use ``$``.
+``@`` is used to include files, or execute a batch file.
+
+``?`` brings up the IDL GUI help interface when entered at the
+command line.
+
+Instead of the ever-standard ``!`` to execute system commands, use ``$``. Also,
+an ``$`` at the end of a line means continue to the next line, like ``\``.
X Windows
--------------
@@ -43,3 +60,9 @@ add these lines to your ``~/.Xdefaults``::
and then run ``xrdb -merge ~/.Xdefault``. (This tip from
http://star.pst.qub.ac.uk/help/idl.shtml)
+
+Basic Constructors
+--------------------
+BINDGEN, CINDGEN, DCINDGEN, DINDGEN, FINDGEN, L64INDGEN, LINDGEN, UINDGEN, UL64INDGEN, and ULINDGEN create arrays of increasing values, similar to range() in python; the prefix characters indicate the data type (B = byte, C = complex integer, etc).
+
+The exponent notation ``5.67e3`` creates a floating point number, while ``5.67d3`` creates a double length float. \ No newline at end of file