Re: Delphi.NET



Rob Kennedy wrote:

Jamie wrote:

Hans-Peter Diettrich wrote:

Now all arrays are dynamic, and records are objects - hopefully working now, in older Delphi versions the Object type was broken.


Object type wasn't broken, people just didn't know how to use it.


If the type wasn't broken, then at least the compiler's support for the type was. The compiler accepted code that was just plain wrong, and it generated incorrect implementations of valid code.

We've been over all this before.

http://groups.google.com/group/comp.lang.pascal.delphi.misc/browse_thread/thread/5f633ef3f758e1d6/2176ea3300f2dfb9


seems strange, i've wrote miles of code using the older object model even with the new string style.. It's obvious, the object model was written before the Pointer strings (default type) came out..
If one was to use the correct type of string that was designed for it, one wouldn't need to use those 2 fancy calls to use the systems default Pointer string that every one has gotten use to.
I still use short strings religiously where ever I can, it's faster..



--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.



Relevant Pages

  • ANN: MeObjects Library for Delphi
    ... object type small and powerful. ... the Object instance can use the ClassType method return the ... Especially for lists of pointers to dynamically allocated memory. ... {Summary Adds Ansi String and correspondent object to a list. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Muliple Users aspx project
    ... because "*" is not a valid operator for the Object type. ... John Saunders ... >> Public Shared Property FirstName As String ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: SCJP Question - Polymorphism, method overloading, overridding
    ... object type is considered, when overloading the reference type is ... Others have already explained the reason, but I want to add that overloading is not operative in this particular situation. ... The expression in question is ruled by the variable at compile time; that's why it delivers an error. ... String s = thing.method1; ...
    (comp.lang.java.help)
  • Re: VBA.convertFromJava("instanceof")=?
    ... TypeOf is better than TypeName because you can prefix a typelib to the object type to ensure that you have the right object type. ... both the Excel and the MSForms libraries have an object named CheckBox. ... you will get only the string "CheckBox" as the result. ...
    (microsoft.public.excel.programming)
  • Re: ASP and session object (get type)
    ... Head of Development ... Integrity eLearning ... > contains (for example, determine whether it is a string, integer, single ... > Is there any easy way to detect the object type in ASP? ...
    (microsoft.public.inetserver.asp.general)