Re: I really hate .NET especially inside Delphi



"Dave Nottage [TeamB]" <rot13.qnivqa@xxxxxxxxxxxxxx> wrote in message
news:4529e704@xxxxxxxxxxxxxxxxxxxxxxxxx
Me wrote:

QC Bug 7392

I cancelled my other post, but it seems it's still a misunderstanding
rather than a bug. You might like to follow this discussion:


http://groups.google.com.au/group/borland.public.delphi.language.delphi.
dotnet/msg/97dbaeafbd46d4b8?hl=en&


If you mean a misunderstanding by Danny Thorpe then I would agree with you -
see the discussion archived on Tamaracka:

1. Goto www.tamaracka.com


2. Search Borland newsgroups for 'StringReader problem D8'


3. Click on view by thread.



Tim Jarvis just said "Delphi complies with the CLR and the CLS specs (if it
doesn't anywhere then thats a bug and will be fixed) that makes it by
definition a 1st class citizen of the .NET world"

QC 7392 is an example of where Delphi does not comply with the .NET CLR

<quote>
By definition, any string, including the empty string (""), compares greater
than a null reference, and two null references compare equal to each other.
</quote>

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp

When comparing a blank string with nil for equality, Delphi reports true.

--
Chris Burrows
CFB Software
http://www.cfbsoftware.com/gpcp



.



Relevant Pages

  • Re: [EGN] Variable hoisting
    ... Re: The Data Quality Act ... In the process I found a SERIOUS bug in the C code. ... CS> The allocated string has no room for the trailing nul. ... An mature adult programmer would have taken it for what ...
    (comp.programming)
  • Re: Comment on trim string function please
    ... I think you have a bug. ... but does it fly past the terminating null character? ... initial space scan) then this writes outside the string. ... ASIDE FROM THE CAST "ISSUES", ...
    (comp.lang.c)
  • Weekly Python Patch/Bug Summary
    ... Patch / Bug Summary ... most missing from Windows distribution ... http://python.org/sf/1541585 closed by gbrandl ... Compiler command percent-sign causes format string error ...
    (comp.lang.python)
  • Re: DCL question (of the day)- null byte in string symbol
    ... I have pointed out that this code was just to show the bug, ... Subject: Re: DCL question - null byte in string symbol ... Lexical substitution is a possibility. ...
    (comp.os.vms)
  • Re: A critique of test-first...
    ... one nasty bug. ... Now we have a string that has been output to stdout. ... Maybe we don't need to exercise the whole compiler, ... Well, again ex hypothesi, I wrote it ...
    (comp.programming)