POV-Ray : Newsgroups : povray.general : Feature requests iden() : Re: Feature requests iden() Server Time
8 Aug 2024 16:18:13 EDT (-0400)
  Re: Feature requests iden()  
From: Warp
Date: 27 Nov 2000 03:13:05
Message: <3a221791$1@news.povray.org>
#macro iden(String)
  #fopen TmpFile "tmptmp.tmp" write
  #write(TmpFile, String)
  #fclose TmpFile
  #include "tmptmp.tmp"
#end


  You can then use it exactly as you wanted:

#declare iden("ThisFloat") = ThatFloat*2;

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;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.