POV-Ray : Newsgroups : povray.off-topic : You lose some... : Re: You lose some... Server Time
7 Sep 2024 03:21:10 EDT (-0400)
  Re: You lose some...  
From: Fredrik Eriksson
Date: 5 Oct 2008 09:51:11
Message: <op.uij0rkwh7bxctx@e6600>
On Sun, 05 Oct 2008 15:36:45 +0200, andrel <a_l### [at] hotmailcom>  
wrote:
>>
> Didn't we code that more like out.append("0" + c[i]) just to confuse the  
> readers?

Nitpick: It has to be '0', not "0".


You could also do it like this:
	out += c[i]["01"];

If you were in a particularly foul mood, you could write it like this:
	out += c??(i??)??("01"??);


-- 
FE


Post a reply to this message

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