From 857ef8e40eeaf69f6167924debf2030fff731f25 Mon Sep 17 00:00:00 2001 From: User Date: Tue, 17 Nov 2009 21:36:35 +0000 Subject: no tocs for now, they look bad --- software/idl.page | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'software') diff --git a/software/idl.page b/software/idl.page index 00b444a..bd4921a 100644 --- a/software/idl.page +++ b/software/idl.page @@ -1,7 +1,7 @@ --- format: rst categories: software -toc: yes +toc: no ... ================== -- cgit v1.2.3 From 2681ee073f85ce486bb9cb7b4be303e05f4b2ca3 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 17 Nov 2009 22:41:39 +0000 Subject: adding data types --- software/idl.page | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'software') diff --git a/software/idl.page b/software/idl.page index bd4921a..1a46faa 100644 --- a/software/idl.page +++ b/software/idl.page @@ -43,3 +43,7 @@ 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). \ No newline at end of file -- cgit v1.2.3 From bd5bc5020c43d9a69d8df39d6a96107af49d3d24 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 19 Nov 2009 16:55:51 +0000 Subject: scientific notation in idl --- software/idl.page | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'software') diff --git a/software/idl.page b/software/idl.page index 1a46faa..b684d37 100644 --- a/software/idl.page +++ b/software/idl.page @@ -46,4 +46,6 @@ 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). \ No newline at end of file +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 -- cgit v1.2.3 From 07ad449383b6717bff99a63984bd3182861d01e0 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 19 Nov 2009 21:03:13 +0000 Subject: character syntax --- software/idl.page | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'software') diff --git a/software/idl.page b/software/idl.page index b684d37..78e41b3 100644 --- a/software/idl.page +++ b/software/idl.page @@ -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. + +``@`` 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 ``$``. +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 -------------- -- cgit v1.2.3