🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

cast pascal

#95
From: Rol
Date: Mon, 26 Jan 2004 09:37
17 lines
1126 bytes
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: char; ?
   b: cardinal;  ?
   ?????????????

How can I translate it please?

Thanx a lot.
Technical Details
Message-ID: <4014dfd7@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,556522529ac166cc,start
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 01:40:06 PST
Reply-To: "Rol" <m.solv@libertysurf.fr>
From: "Rol" <m.solv@libertysurf.fr>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: cast pascal
Date: Mon, 26 Jan 2004 10:37:27 +0100
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.128.17.62
Message-ID: <4014dfd7@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075109847 217.128.17.62 (26 Jan 2004 01:37:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail