Is the world coming to an end?

spir denis.spir at gmail.com
Sun Apr 3 11:44:37 PDT 2011


On 04/03/2011 07:19 PM, Adam D. Ruppe wrote:
> KennyTM~ wrote:
>> Talking of asm, would the following be expected to work?
>
> Maybe. Part of me says "yes, it should be the same as a literal*"
> but part of me says no because it's weird to drop a template in
> an asm block.
>
> * For example:
>
> enum a = octal!777;
> asm {
>     mov EAX, a;
> }
>
> does indeed work.
>
>
> But, all in all, I don't think octal! itself in asm should work.
> It's not literally a literal.

The whole is that, precisely, it is not (no more) a literal. Octals have no 
more syntactic existence ;-)

Denis
-- 
_________________
vita es estrany
spir.wikidot.com



More information about the Digitalmars-d mailing list