POV-Ray : Newsgroups : povray.general : #switch #case in function? : Re: #switch #case in function? Server Time
27 Jul 2024 12:28:34 EDT (-0400)
  Re: #switch #case in function?  
From: jr
Date: 16 Jun 2024 07:45:00
Message: <web.666ecfaebf6d15f1869a24876cde94f1@news.povray.org>
hi,

Ilya Razmanov <ily### [at] gmailcom> wrote:
> Yet another stupid question from me: can I use "case" operator withing
> function? I can't figure it out.

you can use the 'select' function from within your 'function {}', but I think
that's as good as it gets.  BE and or WFP are the people with the "function
nous".

<https://wiki.povray.org/content/Reference:Numeric_Expressions#Functions>


regards, jr.


Post a reply to this message

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