|
![](/i/fill.gif) |
Greetings all.
I just stumbled upon some limitations in the POV language and thought
of a way they could be avoided. These limitations are:
-you can't pass a macro as a parameter of another macro
-POV can't evaluate an expression to a float when reading from a file
The solution I have in mind is a parse(string) function. It simply
inserts the string in the code at the time of parsing (as include
files and macros are treated). So you can to something like:
#macro lissagousFunction(a,b,c)
...
#end
#macro connectTheDots(func, foo1, foo2)
...
thisAndThis = parse(func);
...
#end
connectTheDots ("lissagousFunction(3,0,1)", 5, 1)
Does it make sense?
Peter Popov
ICQ: 15002700
Post a reply to this message
|
![](/i/fill.gif) |