|
![](/i/fill.gif) |
> The question is, thus, if you want to print something different from
> the default "%g" format (which POV-Ray should use when nothing else
> is specified, like in your example above), how do you tell it?
In that case, one could explicitly use the str() function instead of relying
on automatic type conversion:
#debug "X was " + str(x, 5, 5) + "."
But being able to skip that step is convenient when you're only interested
in a ballpark figure for debugging purposes.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |