No it is not the same.

You end up with the same kind of type, but they are no longer compatible
with each other. Ie TWhatever is a string, but you cannot assign a string to
TWhatever. (I think however the other way round works eg you can assign
TWhatever to a string) - Can't remember the exact details.

Myles.

-----Original Message-----
From: Leigh Wanstead [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 3:20 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Can anyone tell me what is the following code meaning?
(By the way, that is not important)


Hello everyone,

Can anyone tell me what is the following code meaning? By the way, it is not
important to me, I just read the code in 3rd party and I am just curious.

type
  TWhatever = type string;

Is that same as this one without word type?
type
  TWhatever = string;

Thanks in advance.

Best Regards
Leigh





---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to