POV-Ray : Newsgroups : povray.advanced-users : passing of variables through commandline ??? : Re: passing of variables through commandline ??? Server Time
2 Nov 2024 03:14:57 EDT (-0400)
  Re: passing of variables through commandline ???  
From: Warp
Date: 21 Jul 2000 05:10:35
Message: <3978138a@news.povray.org>
Jan Walzer <wal### [at] informatikuni-hallede> wrote:
: Of course, I could get aroud this by creating a temporary file
: with the variables and include it but I think it would be easier
: to pass them directly to POV ...

  Why should it be easier? Ok, it will save some lines of shell script, but
I don't think it would be any harder to write something like:

echo "#declare VAR1=123;" > vars.inc
echo "#declare VAR2=456;" >> vars.inc
echo "#declare VAR3=789;" >> vars.inc

-- 
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.