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

Home » Public Forums » archive » Re: IDLWAVE 4.7/Tutorial
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLWAVE 4.7/Tutorial [message #22904 is a reply to message #22778] Tue, 12 December 2000 08:17 Go to previous message
dominik is currently offline  dominik
Messages: 47
Registered: June 2000
Member
>>>> > "JS" == JD Smith <jdsmith@astro.cornell.edu> writes:

JS> It seems what you *really* want is for smart indenting to line up things
JS> with the first non-blank character after the comma in a procedure call,
JS> in the same way the "(" is treated in a function call, e.g.:

JS> print, a, b, c, d, 1, 2, 3, $
JS> x,y,z

JS> This looks like a reasonable option, in light of IDLWAVE's behavior with
JS> continued functions.

This is possible and very useful. It was easy to implement.

JS> The "normal" continuation offset is still needed
JS> in other cases, e.g.:

JS> a=b+c+d+e+ $
JS> f+g+h

JS> Perhaps even this could be a special case, always yielding:

JS> a=b+c+d+e+ $
JS> f+g+h

This on the other hand is really hard. In particular in your code,
JD, where the left side of the assignment can involve any combination
of pointers an objects :-). It would be trivial with a scalar
variable assignment, but not the general case.

JS> Since functions and procedures are already being identified for
JS> other reasons, I should think this is quite doable. This is
JS> exactly the kind of thing that Carsten is eager to hear about, and
JS> also the sort of issue that usually prompts a new alpha version
JS> addressing it the very same day (unless it's really harebrained)!

4.7c on my site.

- Carsten
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Zooming in Object Graphics
Next Topic: IDLWAVE 4.7/Tutorial

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

Current Time: Thu Oct 09 20:23:52 PDT 2025

Total time taken to generate the page: 2.15640 seconds