Re: Translating Free Pascal to GNU C



On Mon, 30 May 2005 18:02:15 -0500, Jack Klein <jackklein@xxxxxxxxxxx>
wrote:

>What you posted doesn't look all that much like Pascal, at least not
>as I remember it. Have they added a 'sizeof' keyword to Pascal
>lately? Or 'try' and 'except'? It's been some time since I did
>anything with Pascal, but I am pretty sure none of these are part of
>the language.

Perhaps it's Delphi, Pascal's OO offspring. But I'm not at all ashamed
that I don't know for sure ;-)

.



Relevant Pages

  • Re: sizeof...
    ... > system.When i used sizeof() keyword to compute the size of integer, ... > shows different results in DOS and Linux.In DOS it shows integer ... Prev by Date: ...
    (comp.lang.c)
  • sizeof...
    ... system.When i used sizeof() keyword to compute the size of integer, ... shows different results in DOS and Linux.In DOS it shows integer ... Prev by Date: ...
    (comp.lang.c)
  • Re: #ifdef vs #if vs #if defined
    ... rather than a keyword, since keywords do not exist in these phases ... back and "notice" that "sizeof" is not only not-defined but will ... A suitable diagnostic, for a smart compiler that does this, might ... Reading email is like searching for food in the garbage, ...
    (comp.lang.c)
  • Re: Implementing
    ... > I need to know that in C how to implement sizeof() without using ... > reserved keyword which calls a function through the library function. ...
    (comp.lang.c)
  • Re: Implementing
    ... sizeof is an operator, not a function, in C. ... For all objects except variable length arrays the compiler knows from the declaration how large the object or type is and gives that value as the result of the operator. ... reserved keyword which calls a function through the library function. ...
    (comp.lang.c)