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/idl.page') 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