[fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Graeme Geldenhuys
Well, kind-of... I don't know if C# also supports this (like Java). It probably does, because for the last few years, Delphi has just been copying whatever is in C#. [sad] eg: This compiles and works in Delphi XE3. ShowMessage('Hello World!'.ToUpper); And there are lots more string

Re: [fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Paul Ishenin
17.10.12, 17:00, Graeme Geldenhuys пишет: Well, kind-of... I don't know if C# also supports this (like Java). It probably does, because for the last few years, Delphi has just been copying whatever is in C#. [sad] ... Interesting. This was already discussed here or fpc-devel list. Best

Re: [fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Graeme Geldenhuys
On 2012-10-17 11:15, Paul Ishenin wrote: This was already discussed here or fpc-devel list. The video was about Delphi XE3, which just got release... was this Delphi functionality already existing in earlier Delphi versions too? [sorry, I don't keep up with every Delphi feature any more]

Re: [fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Sven Barth
Am 17.10.2012 12:31 schrieb Graeme Geldenhuys gra...@geldenhuys.co.uk: On 2012-10-17 11:15, Paul Ishenin wrote: This was already discussed here or fpc-devel list. The video was about Delphi XE3, which just got release... was this Delphi functionality already existing in earlier Delphi

Re: [fpc-pascal] Seems Delphi is moving to Java-style primitive types

2012-10-17 Thread Chad Berchek
It actually uses record helpers, but the end result looks very much like Java primitive types where you have type.ToString, type.Equals, type.Split etc... Not with the intent to be contrary, but for the sake of clarity in discussion, String in Java is not a primitive type; it is a full-fledged