🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7860

Re: Delphi type to Java type

#7860
From: rp
Date: Sat, 19 May 2001 23:17
20 lines
1420 bytes
Use char data type it is unsigned.

"Jonathan Chen" <iwdm@21cn.com> wrote in message news:3b034c82_1@dnews...
> Hi,
> I am a newbie. I want to tranlate a Delphi source into java. Here is
> my now problem.
> Delphi source:
>     PADDING: Byte = 128;
> I translated like this:
> public static final byte PADDING = 0x80;
> But I found value of byte is from -128 to 127, I want to assign a
> unsigned value, what can I do?
>
> By the way, I want to know what is the associate type of DWORD.
>
> Thank you give me a reference.
>
> Jonathan C
>
>
Technical Details
Message-ID: <3b06ffaf_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!fr.usenet-edu.net!usenet-edu.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b034c82_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,6faab02c4ef97604
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-19 16:39:46 PST
From: "rp" <admin@objectpascal.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3b034c82_1@dnews>
Subject: Re: Delphi type to Java type
Date: Sat, 19 May 2001 18:17:56 -0500
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 64.132.9.22
Message-ID: <3b06ffaf_1@dnews>
X-Trace: dnews 990314415 64.132.9.22 (19 May 2001 16:20:15 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!proxad.net!fr.usenet-edu.net!usenet-edu.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews