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

Home » Public Forums » archive » DLM heap variable access
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: DLM heap variable access [message #67292 is a reply to message #66984] Mon, 13 July 2009 09:05 Go to previous message
rtk is currently offline  rtk
Messages: 22
Registered: September 2008
Junior Member
On Jul 11, 11:45 am, pp <pp.pente...@gmail.com> wrote:
> Of course the answer to this was obvious. I just keep forgetting that
> structure elements are passed by value, not by reference. Even though
> list_show() does not change the value of its argument, if it is given
> an identifier (to a non-empty list) by value, it erases the list.

Sorry, I missed following up on this thread. The list functions, and
the
higher-order functions, all destroy any list given as an argument if
that
list is not assigned to a variable already. This is necessary to
allow the
output of one function call to be immediately used by another without
wasting
memory all over the place.

It is entirely possible that I left list.sav out. The list object
calling
list_simp is probably left over from an earlier version. Personally,
I use
the bare list functions for speed, not the list object.

I'll look into building 64-bit versions of the DLMs but this week
seems like
it will be busy. The 32-bit versions should work on 64-bit machines.

Ron
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDLDOC 3.2 Index page not as interesting as it could be...
Next Topic: Re: Menu Question

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

Current Time: Sat Oct 11 18:41:25 PDT 2025

Total time taken to generate the page: 1.20608 seconds