POV-Ray : Newsgroups : povray.general : Feature requests iden() : Re: Feature requests iden() Server Time
8 Aug 2024 22:13:07 EDT (-0400)
  Re: Feature requests iden()  
From: Chris Huff
Date: 29 Nov 2000 06:58:41
Message: <chrishuff-52A6D8.06591629112000@news.povray.org>
In article <slr### [at] fwicom>, ron### [at] povrayorg 
wrote:

> Yes.  Without brackets of some kind, it would be harder to read and 
> ambiguous to parse:

I was thinking that only valid identifiers would be useable as keys. 
Basically a group of variables called by name, something that could 
probably be done easily with a sort of name-mangling.
AssocArray:Val3 would be translated to _AssocArray__Val3_ or something 
similarly unlikely to be used by the user. No special data structures 
would need to be added, but it would be a little more limited.

If you can use any values as a key, but not identifiers, it is a bit 
different...how about the function-like notation? Or just go back to the 
[] array notation, which seems to work well enough in this case.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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