POV-Ray : Newsgroups : povray.general : return dictionary from macro [bug?] : return dictionary from macro [bug?] Server Time
25 Sep 2021 08:38:06 EDT (-0400)
  return dictionary from macro [bug?]  
From: ingo
Date: 13 Apr 2021 13:17:04
Message: <XnsAD0BC42BCF8Aseed7@news.povray.org>
Not sure wether this was reported before.


//-----------
#version 3.8;

#macro SomeThing(A)
  #local RD = dictionary;
  RD
#end 
 
#declare SD = SomeThing(1);
//-----------

This crashes POV-Ray. Sometimes it asks to write a dump file.


//-----------
#version 3.8;

#macro SomeThing(A)
  #local RD = dictionary;
  (RD)
#end 
 
#declare SD = SomeThing(1);
//------------


This results in: test.pov" line 5: Parse Error: Expected 'numeric 
expression', dictionary
identifier found instead

Ingo


Post a reply to this message

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