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

Home » Public Forums » archive » Re: IDL interpreter questions - can someone (D.Fanning) explain - TIA
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: IDL interpreter questions - can someone (D.Fanning) explain - TIA [message #25086] Fri, 18 May 2001 09:39 Go to previous message
<mankoff[1] is currently offline  <mankoff[1]
Messages: 2
Registered: May 2001
Junior Member
On Fri, 18 May 2001, JD Smith wrote:

> dadada wrote:
>> How are variables referenced by default?
> I'm not sure what you mean here. Pointer references? They are explicit
> only... i.e. you can't create a reference of an existing variable.

Not sure either, but here is my interpretation of the question/answer:

In functions, variables are *always* 'by value'
In procedures, they are 'by value' unless you put a "return" statement
anywhere in the procedure. If this exists, then they are passed 'by
reference'

>> Continuations?
> No continuations. Non-local exits from recursions are possible using
> standard argument passing, or common blocks.

isn't this beginning to be a part of the language? They just added "break"
and a few other C style conventions. I would expect to see a 'continue' in
one of the upcoming releases. But JD is right, it doesn't exist yet.

>> Suspensions (ie. thunks)?
> No thunks or closures.
what is a thunk?

I searched briefly and read that it is a "zero argument closure", but that
doesn't clarify much...

-k.

--
Ken Mankoff
LASP://303.492.3264
http://lasp.colorado.edu/~mankoff/
[Message index]
 
Read Message
Read Message
Previous Topic: very large array support in IDL :-)))
Next Topic: Basic insight into Insight basics?

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

Current Time: Fri Oct 10 03:18:25 PDT 2025

Total time taken to generate the page: 0.06892 seconds