POV-Ray : Newsgroups : povray.pov4.discussion.general : Parse Strings : Re: Parse Strings Server Time
19 May 2024 23:12:50 EDT (-0400)
  Re: Parse Strings  
From: Warp
Date: 25 Oct 2007 17:37:05
Message: <47210c81@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> #declare F = function { x*2 };
> #declare Ftext = f.toString(); // <-- that's probably the feature you need

  That wouldn't preserve the exact original representation (because
functions are byte-coded, thus dropping the original function string
completely).

-- 
                                                          - Warp


Post a reply to this message

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