|
![](/i/fill.gif) |
Warp <war### [at] tag povray org> wrote:
> geogeo <geo### [at] mecol co uk> wrote:
> > Thanks for info on #debug, had not noticed that feature, only been at this a few
> > days. But how do I get it to output variables? The following #debug fails:
>
> > #declare R1 = seed(1);
> > #declare n = rand(R1);
> > #debug "rand out = ",str(n),"\n";
>
> #debug takes one single string as parameter. To build a string made of
> several components, you use the concat() function:
>
> #debug concat("rand out = ", str(n, 0, -1), "\n")
>
> --
> - Warp
Thanks for concat info - works fine now!
Geo
Post a reply to this message
|
![](/i/fill.gif) |