comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » bug or feature?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
bug or feature? [message #66158] Thu, 16 April 2009 03:21
lbnc is currently offline  lbnc
Messages: 15
Registered: January 2005
Junior Member
Hi there,

in the IDL 6.3 documentation it says:

Dollar Sign ($)
The dollar sign at the end of a line indicates that the current
statement is continued on the following line. The dollar sign
character can appear anywhere a space is legal except within a string
constant or between a function name and the first open parenthesis.
Any number of continuation lines are allowed.

So I do:

IDL>plot, indgen(23), indgen(23), xminor = 4

Lovely! However:

IDL>plot, indgen(23), indgen(23), xminor $
plot, indgen(23), indgen(23), xminor $
^
IDL: PLOT: Incorrect number of arguments.

plot, indgen(23), indgen(23), xminor $
^
IDL: Syntax error.

No good. But I can do:

IDL>plot, indgen(23), indgen(23), xminor = $
IDL> 4

So anyway, seems like the documentation is wrong. Maybe. Depends how
you define "string constant" but I would not include the assign
operator "=" as part of it.

Come to think of it, I should probably report that to ITTVIS instead
of posting it here...

Cheers
Lasse
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to set the default working directory?
Next Topic: DICOM directory

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:51:59 PDT 2025

Total time taken to generate the page: 0.00538 seconds