|
![](/i/fill.gif) |
Christopher James Huff <cja### [at] earthlink net> wrote:
> It's a string function.
If it was, then it could be used anywhere where a string is expected.
It can't.
For example the #debug command takes as parameter a string. A string
can be a string literal, a string identifier or a string function. Since
strlen() is not a string function (but a float function) it can't be given
to #debug.
> If POV were object oriented, it would
> be a method of string objects, not floats.
Its location would not change the fact that it's a float function
(there's no reason why there could not be float functions in a string
class).
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |