POV-Ray : Newsgroups : povray.unofficial.patches : Question about mesh2 : Re: Question about mesh2 Server Time
2 Sep 2024 06:19:03 EDT (-0400)
  Re: Question about mesh2  
From: Warp
Date: 12 May 2000 17:18:24
Message: <391c7520@news.povray.org>
Bob Hughes <per### [at] aolcom?subject=pov-news:> wrote:
: Likewise #declare TestErrorSF=str(0,1,WhatIsIt) when it's not a float.
: No good of course to just produce an error if you can't continue to parse.
: There's an idea.  Error trapping kind of thing possible or could it be added?

  I think that a type testing would be handier in this case. Something
like:

isfloat(Identifier): returns true if 'Identifier' is a float, else false.
isstring(Identifier): returns true if 'Identifier' is a string, else false.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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