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

Home » Public Forums » archive » Storing !NULL in struct
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: Storing !NULL in struct [message #83606 is a reply to message #83531] Mon, 18 March 2013 04:41 Go to previous messageGo to previous message
tom.grydeland is currently offline  tom.grydeland
Messages: 51
Registered: September 2012
Member
On Monday, March 18, 2013 9:27:31 AM UTC, alx wrote:

> Le lundi 18 mars 2013 10:00:58 UTC+1, Tom Grydeland a écrit :
>> Either of HASH or LIST would be perfectly fine, if I were able to even assign to already-known fields of structs stored inside them:

>> It's not that I cannot imagine a way of working around this, but it seems to defeat the purpose of providing high-level data structures.

> IDL> h = hash('f', {t:0})
> IDL> help, h
> H HASH <ID=1 NELEMENTS=1>
> IDL> print, h['f'].t
> 0
> IDL> h['f'] = {t:1}
> IDL> print, h['f'].t
> 1


> alx.

Very good, so you, too, understand how to work _around_ this problem.

Do you also understand why I referred to this as defeating the purpose of high-level data structures?

--T
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HASH makes too many temporaries
Next Topic: MGlib IDL library

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

Current Time: Fri Oct 10 14:23:27 PDT 2025

Total time taken to generate the page: 1.52003 seconds