POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
15 Nov 2024 16:15:17 EST (-0500)
  Re: Adventures with digital painting  
From: Darren New
Date: 12 Mar 2008 22:07:52
Message: <47d89a88$1@news.povray.org>
Orchid XP v7 wrote:
> Tcl encodes all data types as strings. I've been bitten by this 
> before... You write a Tcl script, it works fine, and then it encounters 
> some input that happens to contain a curly-bracket or a dollar sign and 
> Weird Crap happens...

Only if you don't treat your lists as lists and your strings as strings. 
Otherwise, the rules are extremely straightforward.

> [I'm sure there's a way to avoid this. It's just tricky, and it makes me 
> nervous.]

I never get bitten by this. The only time this happens is when you pass 
a string to something that indexes into a list, without first splitting 
the string into lists appropriately.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

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