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

Home » Public Forums » archive » Parameter Passing - Error in doc ?
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
Parameter Passing - Error in doc ? [message #6237] Wed, 15 May 1996 00:00
Marc Herbert is currently offline  Marc Herbert
Messages: 2
Registered: May 1996
Junior Member
I use PV-Wave 5.0 (and 6.0 now), and I have
to handle with some big images.
I use almost the entire memory on my system (HP-UX).

So, I was interested in the question of
parmeter passing. I've read the documentation
(Book PG, Chapter 9, para "Procedure or Function
Calling Mechanism") and noticed with
big surprise that procedures
work on a copy of variables,
EVEN in the case of reference passing !
This copy being obviously useless,
if one excepts the case of error
occurring, and procedure aborting.

BUT ! I made some testing,

(try : proc,array1
to compare with proc,array1(*,*,*,...)

and with the help of the function 'info,/memory'
it appears that this copy doesn't actually
occur ?!??

So the question is : Is there a mistake in
the documentation ?


--
Marc Herbert
Marc.Herbert@supaero.fr (MIME accepte)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL DLLs built with VC++
Next Topic: Re: Perimeter or Vertices from the return of search_2D??

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

Current Time: Wed Oct 08 19:42:28 PDT 2025

Total time taken to generate the page: 0.00587 seconds