POV-Ray : Newsgroups : povray.off-topic : Innovative open source? : Re: Innovative open source? Server Time
9 Oct 2024 14:21:05 EDT (-0400)
  Re: Innovative open source?  
From: Kevin Wampler
Date: 4 Apr 2009 15:12:44
Message: <49d7b12c$1@news.povray.org>
Darren New wrote:
> Kevin Wampler wrote:
>> I'm actually not sure what to expect here. 
> 
> Note that the "First Text" and "Second Text" keys stay in order, for 
> example. I think it's pretty useful for things like representing stuff 
> like XML, where you might want keys for the "id" field, but you also 
> want to know what order the tags were in in the source file.

Ahh, yeah, that's exactly the sort of use case I was looking for.

> It looks like inserting something without an index puts it at the end of 
> the array with an index one higher than the biggest integer index. 
> Inserting something with an index overwrites what's at that index, or 
> adds it to the end if the index doesn't already exist.

Good to know.  Thanks!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.