Re: register variables



junky_fellow@xxxxxxxxxxx wrote:
>
> what is the purpose of declaring a register variable ?

It tells the compiler that you think you have a better
idea about how to optimise code.

> why can't we find the address of register variable ?

That's the one guaranteed effect of using the register qualifier.

--
pete
.



Relevant Pages

  • Re: Add new col event?
    ... It's a directive to the compiler that you will be declaring all the variables ... With "Option explicit", the compiler will notice that one of those variables ... Prev by Date: ...
    (microsoft.public.excel)
  • Re: register variables
    ... >what is the purpose of declaring a register variable? ... CLC FAQ ... Prev by Date: ...
    (comp.lang.c)
  • Re: register variables
    ... > what is the purpose of declaring a register variable? ... There is no purpose nowadays. ... The compiler can do a much better ... Prev by Date: ...
    (comp.lang.c)
  • Re: Could someone explain this variable please
    ... >> What exactly is this declaring? ... >It is an integer subtype with range 0..100 ... >compiler to downgrade to a smaller size than integer. ... Prev by Date: ...
    (comp.lang.pascal.delphi.misc)
  • Interface question
    ... what is the purpose of an interface? ... what i mean is how does the compiler treats this? ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)