🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #208

Re: cast pascal

#208
From: Ignacio Vazquez
Date: Mon, 26 Jan 2004 17:44
25 lines
1208 bytes
Rol wrote:

> Hi!
> I am doing a code translation from c to pascal, and I have a cast
> issue:
> 
> C:
>   unsigned char a;
>   unsigned int b;
>   a^=(unsigned char)b;
> 
> 
> Translation in Delphi Pascal:

  a: Byte;

>    b: cardinal;  ?

Correct.

-- 
Cheers,
  Ignacio

Help improve Delphi: http://qc.borland.com/
Technical Details
Message-ID: <40155242$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4014dfd7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,556522529ac166cc
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 10:10:50 PST
From: "Ignacio Vazquez" <ivazquezATorioncommunications.com>
Subject: Re: cast pascal
Newsgroups: borland.public.delphi.language.objectpascal
References:  <4014dfd7@newsgroups.borland.com>
User-Agent: XanaNews/1.15.8.4
Date: Mon, 26 Jan 2004 12:44:41 -0500
X-Face: "vB?T(BzQ.k]bLY]iut{y#_|XA,X(Z![<<.+ciPo/uxw1ZPQ[E`']vXq5~4T]SNb"0QA1%S
 qQUIU5D4Ynn&cDYOt9!I3
NNTP-Posting-Host: 64.119.101.2
Message-ID: <40155242$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075139138 64.119.101.2 (26 Jan 2004 09:45:38 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!news.belwue.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail