POV-Ray : Newsgroups : povray.programming : Feature request - modification of dimensions() function. : Re: Feature request - modification of dimensions() function. Server Time
17 May 2024 05:55:14 EDT (-0400)
  Re: Feature request - modification of dimensions() function.  
From: Tim Nikias
Date: 13 Dec 2005 11:18:54
Message: <439ef46e$1@news.povray.org>
> I was wondering if any of you has ever ran into trouble trying to identify
whether a declared variable is a scalar or an array.

Well, usually when you script things yourself, you should know whats going
in and out of macros and scripts. Unless you need/want some way to have a
part of script do different things based upon float or array, I'm not sure
if the effort is actually worth it, I've never needed it. Where do you need
it? I'm curious. :-)

And you could always declare one-dimensional-arrays as well.

Regards,
Tim

-- 
aka "Tim Nikias v2.0"
Homepage: <http://www.nolights.de>


Post a reply to this message

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