"Evgenij Gagauz" <nomail@nomail> wrote:
> Is there a way to use an conditional expression in function?>> For example, how can I write something like that (the code isn't compilable):> #local => function(a) {> #if (a < .1)> 1> #else> 0> #end> }
#declare StepFn = function(A) { select(A - 0.1, 1, 0) }
--
Tor Olav
http://subcube.com