POV-Ray : Newsgroups : povray.newusers : Array + macro syntax : Array + macro syntax Server Time
2 Nov 2024 05:18:10 EDT (-0400)
  Array + macro syntax  
From: David Harmon
Date: 15 Aug 2004 13:30:10
Message: <41219b98.232143015@news.povray.org>
I can't see where I go wrong.  This is supposed to be an array
of xyz vectors.  The error message is:

File Context (5 lines):
    xsp_point
Parse Error: Insufficent [sic] number of initializers

POV source is:

#macro xsp_point(xspc, zspc)
    <xspc, 0, zspc>
#end    
#declare Track_path = array[4] {
    xsp_point( 147.5762, 144.0371),   // Error points here.
    xsp_point( 152.7021, 96.0146),   
    xsp_point( 171.1753, 60.6523),   
    xsp_point( 219.02, 59.0303)
}


Post a reply to this message

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