POV-Ray : Newsgroups : povray.off-topic : You lose some... : Re: You lose some... Server Time
7 Sep 2024 03:21:13 EDT (-0400)
  Re: You lose some...  
From: Fredrik Eriksson
Date: 5 Oct 2008 11:18:35
Message: <op.uij4s9vt7bxctx@e6600>
On Sun, 05 Oct 2008 16:39:42 +0200, andrel <a_l### [at] hotmailcom>  
wrote:
>>  ??( is an alternative token for [. Similarly for ??) and ].
>
> I don't remember that one. I seem to have dislocated my k&r and bjarne  
> books and I seem not to be able to find that on the web either. Are you  
> sure that that isn't just a compiler/hardware specific hack?

Yes, I am sure. They are called trigraphs and are listed in section 2.3 of  
the C++ standard.

Strictly speaking, they are not actually alternative tokens. They are  
substituted before any other processing of the source.

There is a set of actual alternative tokens though. They are sometimes  
called digraphs. You could thus write:
	out += c<:i:><:"01":>;


-- 
FE


Post a reply to this message

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