June 06, 2003
"Georg Wrede" <Georg_member@pathlink.com> wrote in message news:bbo8f6$kk0$1@digitaldaemon.com...
> In article <3EDF7052.90DD838D@hls.via.at>, Helmut Leitner says...
> >Georg Wrede wrote:
> >> Maybe such a table should be on an unofficial site?
> >You can use
> >   <http://www.prowiki.org/wiki4d/wiki.cgi?LanguagesVersusD>
> >Click on edit and you will see how the wiki works.
>
> For those interested and knowledgeable, I already filled in the data from the Official comparison (hope I'n not getting sued for copyright), and put in a few other language columns.

No problem, make your own version of the table, as long as it is identified as unofficial.

> I assume at least the Delphi column will get filled soon?


June 08, 2003
I'm looking at the comparison on Helmut's WIKI:

http://www.prowiki.org/wiki4d/wiki.cgi?LanguagesVersusD


Who found function overloading in Delphi? I believe it's not possible.

-i.

June 09, 2003
"Ilya Minkov" <midiclub@8ung.at> escribió en el mensaje
news:bc0ccj$203u$1@digitaldaemon.com...
|
| Who found function overloading in Delphi? I believe it's not possible.
|

Isn't there an "overload" keyword in Delphi?

-------------------------
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.488 / Virus Database: 287 - Release Date: 2003-06-05


June 09, 2003
Carlos Santander B. wrote:
> "Ilya Minkov" <midiclub@8ung.at> escribió en el mensaje
> news:bc0ccj$203u$1@digitaldaemon.com...
> |
> | Who found function overloading in Delphi? I believe it's not possible.
> |
> 
> Isn't there an "overload" keyword in Delphi?

"overload"? First time i hear. It's not in my Delphi 2.0 book.

...wait... searching the net...

You were right.

Starting with Delphi 4.0 (which was a great step forward for various reasons), Function/Method overloading and Default parameter values have been added.

-i.

June 09, 2003
"Ilya Minkov" <midiclub@8ung.at> wrote in message bc0ccj$203u$1@digitaldaemon.com
> I'm looking at the comparison on Helmut's WIKI:
>
> http://www.prowiki.org/wiki4d/wiki.cgi?LanguagesVersusD
>
> Who found function overloading in Delphi? I believe it's not possible.

function Divide(X, Y: Real): Real; overload;
begin
  Result := X/Y;
end;

function Divide(X, Y: Integer): Integer; overload;
begin
  Result := X div Y;
end;



-- 

 A: Top-posters.
 Q: What is the most annoying thing on Usenet?


June 09, 2003
DRS wrote:
> "Ilya Minkov" <midiclub@8ung.at> wrote in message
>>Who found function overloading in Delphi? I believe it's not possible.

Yeah, yeah, i know already. It just wasn't yet there as i learned Delphi, and i have not made a step past 3.0 -- and this feature was added in 4.0.

-i.

June 09, 2003
"Ilya Minkov" <midiclub@8ung.at> wrote in message bc290l$ks1$1@digitaldaemon.com
> DRS wrote:
>> "Ilya Minkov" <midiclub@8ung.at> wrote in message
>>>Who found function overloading in Delphi? I believe it's not possible.
>
> Yeah, yeah, i know already. It just wasn't yet there as i learned Delphi, and i have not made a step past 3.0 -- and this feature was added in 4.0.

D8 will be out around the end of the year.  You have a lot of catching up to do!

-- 

 A: Top-posters.
 Q: What is the most annoying thing on Usenet?


June 11, 2003
In article <bb8bbe$2cbs$1@digitaldaemon.com>, Ilya Minkov says...
>>> Lightweight objects
>> Yes (deprecated).
>
>The turbo pascal ones? I don't even know how they work. Is it that terrible kludge that mimics C++ in a most inappropriate manner?

No, records.

>>> Generates standard object files
>> Yes.
>
>(more or less) :)

It can generate both C and C++ .obj files, as well as C DLLs/SOs.

>>> Macro preprocessor
>> No.
>
>(Partial)
>IIRC only {$INCLUDE} and conditional compilation features.

That's not a macro preprocessor. Slight difference, but enough.

Cheers,
Ignacio

PS, is there an free NNTP server anywhere that hosts this newsgroup? I don't want to have to go through this web interface...


June 11, 2003
"Ignacio Vazquez" <Ignacio_member@pathlink.com> wrote in message news:bc8117$2q5p$1@digitaldaemon.com...
> PS, is there an free NNTP server anywhere that hosts this newsgroup? I
don't
> want to have to go through this web interface...

I access it using Outlook Express as news.digitalmars.com



June 12, 2003
Ignacio Vazquez wrote:

> >The turbo pascal ones? I don't even know how they work. Is it that terrible kludge that mimics C++ in a most inappropriate manner?

> No, records.

Records are not objects though, as they do not support member
fucntions/methods.
The deprecated OP objects do count, though, I think.  [Perhaps a
'depracated' flag to further complicate the table!!]


> [Delphi] can generate both C and C++ .obj files, as well as C DLLs/SOs.

Not quite: Delphi does NOT generate C++ .obj files, only 'C' although these do conform to whatever the prevalant standard is.  [I am a C++ guy, not C, so can't remember the name of the format]

-- 
AlisdairM