POV-Ray : Newsgroups : povray.general : Designed a 4-variable macro, called it successfully with three Server Time
6 Nov 2024 00:27:18 EST (-0500)
  Designed a 4-variable macro, called it successfully with three (Message 1 to 2 of 2)  
From: Greg M  Johnson
Subject: Designed a 4-variable macro, called it successfully with three
Date: 26 Oct 2004 21:52:53
Message: <417eff75@news.povray.org>
As far as I can tell, a few years ago I designed a macro which takes four 
variables as inputs, and got it to do what I wanted by calling it with (a 
mistake?) only three.

If this were allowed, is there a rule as to how pov will re-interpret the 
variables with something like variable promotion:   a,b,c gets taken as 
a,b,c,c?


Post a reply to this message

From: povray
Subject: Re: Designed a 4-variable macro, called it successfully with three
Date: 27 Oct 2004 23:07:27
Message: <pbk0o0tho034m9bcgseuf8j3hfk12l25n0@4ax.com>
On Tue, 26 Oct 2004 21:52:52 -0400, "Greg M. Johnson"
<gregj;-)565### [at] aolcom> wrote:

>As far as I can tell, a few years ago I designed a macro which takes four 
>variables as inputs, and got it to do what I wanted by calling it with (a 
>mistake?) only three.
>
>If this were allowed, is there a rule as to how pov will re-interpret the 
>variables with something like variable promotion:   a,b,c gets taken as 
>a,b,c,c? 
>

That would make debugging more dificult.  Many an error
has been found (and thus fixed) by a macro being called
with the incorrect amount of arguments.



-- 
to all the companies who wait until a large user base becomes
dependant on their freeware, then shafting said happy campers with
mandatory payment for continued usage. I spit on your grave.


Post a reply to this message

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