POV-Ray : Newsgroups : povray.advanced-users : No semicolon allowed in Tuple-style assignments? : Re: No semicolon allowed in Tuple-style assignments? Server Time
20 Apr 2024 06:10:18 EDT (-0400)
  Re: No semicolon allowed in Tuple-style assignments?  
From: jr
Date: 26 Mar 2023 15:55:00
Message: <web.6420a26e17acbde34301edef6cde94f1@news.povray.org>
hi,

"Bald Eagle" <cre### [at] netscapenet> wrote:
> ...
> After checking that there wasn't some { that got put somewhere by accident, I
> took one of the tuple assignments
> #declare (this, that) = ThisMacroReturns2Values (arg1, arg2, ar3);
> and deleted the trailing semicolon - and BEHOLD!  the error vanishes.
>
> That makes for coding awkwardness and confusion.

had a quick look at some code where I use tuple assignments, all are '#local'
rather than '#declare', but I think your example should work.  (see my
'pvars.inc')



regards, jr.


Post a reply to this message

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