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

Home » Public Forums » archive » Re: [Q] readf into an array error
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: [Q] readf into an array error [message #5714] Mon, 05 February 1996 00:00 Go to previous message
Ken Knighton is currently offline  Ken Knighton
Messages: 44
Registered: May 1995
Member
peter@hpl.hp.com (Peter Webb) wrote:

> This is, at best, a feeble attempt to describe pass by reference. The
> parameters are not copied, they are referenced (try passing an array so
> large that copying would use up all memory -- you can do it, ergo no
> copying happened).
>
> Time for a rewrite, RSI!

I tried it and Peter seems to be correct. IDL pass by reference seems
to work the way it should and not the way it is documented.

While we are on the subject of documentation, my personal favorite is
the way in which the /NO_COPY keyword is documented for the WIDGET_*
routines. The paragraph given leaves much to the imagination. On the
other hand, the documentation for the HANDLE_* routines makes the
operation of this keyword very clear.

IMHO, the documentation is much better than it used to be, but there
is room for improvement.

Ken Knighton knighton@gav.gat.com knighton@cts.com
General Atomics
San Diego CA
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Q:Unable to allocate memory?
Next Topic: Output Types

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

Current Time: Wed Oct 08 15:54:04 PDT 2025

Total time taken to generate the page: 0.00317 seconds