POV-Ray : Newsgroups : povray.off-topic : Using Excel as a 3D engine : Re: Using Excel as a 3D engine Server Time
11 Oct 2024 01:23:46 EDT (-0400)
  Re: Using Excel as a 3D engine  
From: Darren New
Date: 11 Mar 2008 17:16:21
Message: <47d704b5$1@news.povray.org>
Orchid XP v7 wrote:
>>> The point being that it is *possible* to define the "map" function in 
>>> Haskell, whereas such a function cannot be defined in VBA. :-P
>>>
>>
>> Umm.. I'm not getting this - why is it impossible to define in VBA?
> 
> Because in VBA, you can't pass functions as arguments to functions.

Oh, right. I bet there's *some* way to get the equivalent of function 
pointers, but I don't know VBA well enough offhand...

Actually, you can. It just takes more work. You have to do it the way 
you'd do in (say) java, and make a com object with the functionaltiy you 
need. Perhaps overkill, yes.

-- 
   Darren New / San Diego, CA, USA (PST)
     "That's pretty. Where's that?"
          "It's the Age of Channelwood."
     "We should go there on vacation some time."


Post a reply to this message

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