🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Delphi type to Java type

#7744
From: Nabin Thomas
Date: Tue, 22 May 2001 02:20
38 lines
1896 bytes
char is not 1byt e it is a two byte value.

rp wrote:

> 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
> >
> >

--
        ***********************************
***************************************************

Nabin Thomas

nabinthomas@hotmail.com

Feel free to contact me thru e-mail or MSN Mssenger
if required but DONOT SPAM

***************************************************
 ***********************************
Technical Details
Message-ID: <3B09CCD3.6F54F50D@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b034c82_1@dnews> <3b06ffaf_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-21 22:38:37 PST
Message-ID: <3B09CCD3.6F54F50D@hotmail.com>
Date: Tue, 22 May 2001 07:50:04 +0530
From: Nabin Thomas <nabinthomas@hotmail.com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language
Subject: Re: Delphi type to Java type
References: <3b034c82_1@dnews> <3b06ffaf_1@dnews>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 202.9.167.151
X-Trace: dnews 990508734 202.9.167.151 (21 May 2001 22:18:54 -0700)
Lines: 42
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews