POV-Ray : Newsgroups : povray.beta-test : Syntax extension: Passing multiple values out of a macro : Re: Syntax extension: Passing multiple values out of a macro Server Time
28 Apr 2024 02:56:50 EDT (-0400)
  Re: Syntax extension: Passing multiple values out of a macro  
From: Warp
Date: 1 Mar 2015 03:30:04
Message: <54f2ce0c@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
>    #macro WindowFrameAndCutout(Pos,H,W)
>      #local Frame  = union {...};
>      #local Cutout = box {...};
>      (Frame,Cutout,Area)
>    #end

>    #declare (MyFrame,MyCutout) = WindowFrameAndCutout(...);

You are returning three values and assigning them into two identifiers?

-- 
                                                          - Warp


Post a reply to this message

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