|
![](/i/fill.gif) |
> Although it's not said what is valid for use as "function" it seems to me to
> be only those which don't require parameters. For instance f_bozo and
> f_crackle from the functions.inc. I don't have any idea what the correct
> way of using these is myself, only that those can work okay without
> modification.
>
> > By modifying the HF_Square macro a bit
> >
> > #macro HF_Square(FunctionName, MnExt, MxExt, Res, Smooth, FileName)
> > //#local Function =
> > Parse_String(concat("function(x,y,z){",FunctionName,"(x,y,z)}"))
> > #local Function =
> > Parse_String(concat("function(x,y,z){",FunctionName,"}"))
An additional boolean parameter might come handy...
#macro HF_Square(FunctionName, MnExt, MxExt, Res, Smooth, FileName, Parameters)
#if (Parameters)
#local Function = ... Version1
#else
#local Function = ... Version2
#end
Thank you :-))
Thorsten
Post a reply to this message
|
![](/i/fill.gif) |