|
|
On Thu, 7 Sep 2000 16:17:02 +0200, Marc-Hendrik Bremer wrote:
>Hi,
>
>I want do difference two functions (to add a third one afterwards) and thing
>it could be done by "& not". Alas, I can't find the logical "not" operator
>in functions. Do I miss something? Does a simple "& -" the job or is there
>no logical "not"?
>I can't use "sign -1" because that would effect the hole function.
>
>Thanks in advance,
>
>Marc-Hendrik
#declare TheCount=2;
#if(TheCount !=1)
pigment{Gold}
#else
pigment{Blue}
#end
This works, I've just tested it, and I couldn't find it documented, I
just tried something I've seen in other languages.
--
Cheers
Steve email mailto:ste### [at] zeroppsuklinuxnet
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
11:40pm up 17 days, 3:53, 3 users, load average: 1.53, 1.52, 1.25
Post a reply to this message
|
|