|
![](/i/fill.gif) |
> #debug concat("The value is: ", str(atan2(5), 0, -1), "\n")
I saw something like that and thought, I am not typing all that every time I
want to see a val.
#macro echo(Str)
#if (1)
#debug Str
#end
#end
#macro echof(f)
echo(str(f,2,5))
#end
#macro echov(V)
echo(concat("<",str(V.x,2,5),",",str(V.y,2,5),",",str(V.z,2,5),">"))
#end
#macro echov2(V)
echo(concat("<",str(V.x,2,5),",",str(V.y,2,5),">"))
#end
echof(a)
echo("\n") // always follows or delayed in echoing
Post a reply to this message
|
![](/i/fill.gif) |