POV-Ray : Newsgroups : povray.advanced-users : user defined function : Re: user defined function Server Time
28 Jul 2024 12:32:52 EDT (-0400)
  Re: user defined function  
From: Leo80s
Date: 11 Jan 2006 12:40:00
Message: <web.43c54273ca20965f443403d30@news.povray.org>
Hello , I need an help...

I can't understand the way I could specify the value returned by a function
(or a macro?!)...isn't there something similar a return statement?!?!

for example, how can I write a function that take an integer as parameter
and give in output the value of this integer if it's positive and 0
otherwise???

Leo


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.