POV-Ray : Newsgroups : povray.documentation.inbuilt : Mysterious function argument : Re: Mysterious function argument Server Time
19 Oct 2021 17:36:08 EDT (-0400)
  Re: Mysterious function argument  
From: Kenneth
Date: 2 Oct 2021 22:40:00
Message: <web.615917b73ec630374cef624e6e066e29@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
>
> #declare F0 = function {pattern {bozo}}
>  ..throws a fatal error just by itself, "Expected 'Rvalue to declare', pattern
>  found instead"
>
[and...]
> I just ran that 'pattern' version in v3.7.0 (Windows), and it
> fails there too, same error message...

MY ERROR! I mixed up my various tests :-\  Those two #declared functions DO
parse OK in Windows, in both v3.7.0 and v3.8.0 beta 1. Very sorry for the
confusion.

What I actually *tested* was this comparison, by mistake (but still interesting,
and maybe odd- but certainly off-topic here):

#declare PATT =
pattern{bozo}
... which fails parsing

or..

#declare PATT =
pigment{bozo}
...which parses successfully


Post a reply to this message

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