|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Why I'm unable to print the string "abc\abc" with povray (at least in this
Solaris compile)?
If I try this:
#debug "abc\abc"
I get a beep and "abcbc" is printed. Ok, \a is some bell or something like
that.
Then I thought that it has to be printed this way:
#debug "abc\\abc"
Same result! A beep and "abcbc" was printed. Strange.
Then I tried:
#debug "abc\\\abc"
Now there's no beep but it prints "abc\\abc".
It seems that I'm unable to print "abc\abc". Is this a bug?
--
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Probably will have to go with "abc","\","abc".
Bob
"Warp" <war### [at] tagpovrayorg> wrote in message news:3944ac59@news.povray.org...
| Why I'm unable to print the string "abc\abc" with povray (at least in this
| Solaris compile)?
| If I try this:
|
| #debug "abc\abc"
|
| I get a beep and "abcbc" is printed. Ok, \a is some bell or something like
| that.
| Then I thought that it has to be printed this way:
|
| #debug "abc\\abc"
|
| Same result! A beep and "abcbc" was printed. Strange.
| Then I tried:
|
| #debug "abc\\\abc"
|
| Now there's no beep but it prints "abc\\abc".
|
| It seems that I'm unable to print "abc\abc". Is this a bug?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Bob Hughes wrote:
> Probably will have to go with "abc","\","abc".
Doesn't work - bug? probably
Pabs
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On 12 Jun 2000 05:24:41 -0400 Warp <war### [at] tagpovrayorg> wrote:
> Why I'm unable to print the string "abc\abc" with povray (at least in this
>Solaris compile)?
Hi, Warp. I thought I'd go ahead and post what we both agreed was a
'kludge' workaround.
#debug "abc\\ \babc"
will print the desired "abc\abc" but we agree that the parser seems to
be a little inconsistent in this regard.
--
Alan - ako### [at] povrayorg - a k o n g <at> p o v r a y <dot> o r g
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Alan Kong <ako### [at] povrayno-spamorg> wrote:
: Hi, Warp. I thought I'd go ahead and post what we both agreed was a
: 'kludge' workaround.
: #debug "abc\\ \babc"
This certainly may work when outputting to stdout (or is it stderr?
whatever), but I wonder what happens if the debug stream is redirected to a
file...
--
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
|
|
| |
| |
|
|
|
|
| |