Anyone currently using or studying Prism? If so, post here. I'd like to know if you're studying it or using it on a real project. Also, did you use Delphi, Delphi for .Net, Oxygene, or Lazarous?
We have a few existing Delphi clients we are migrating from Delphi to Delphi Prism this next quarter but I've got Delphi Prism and I'm primarily studying it right now. I'm filling in the Prisdm data for my Prism Cross Reference Language Guides.
I have it. And, although I feel abandoned by Borland/CodeGear because they dropped Eco (great concept) and Delphi for .Net after having used Borland compilers since Turbo Pascal 1.0, I'm glad to have a tool in Pascal that makes me more of a first class .Net citizen.
There are also a couple (and only a couple) of things about Prism that bother me. One is the essential dropping of "function" and "procedure" in favor of "method". To me, that is more like deciding to take "bicycle" and "car" and drop both of those words in favor of "vehicle". Use of the word "vehicle" sort of works, but information has been lost.
And I know I can specify an option to allow their use again, but I get the feeling that eventually it might be disallowed.
I'm a Delphi developer from version 1.0. Now I start with Delphi Prism, have a lot of code ready but still I sometimes need some help. Hope to help others with the things I know.
I have been using Delphi since version 2, comming from C++. I have been using Delphi Prism to make webservices, but I always run into function that is no there. The other day I was looking how to trim a string from trailing spaces just to find the the most used function Trim is not avilable. Then I looked for Replace but that is not there, It looks like I have make my own routines for trimming strings.
The other day I was looking how to trim a string from trailing spaces just to find the the most used function Trim is not avilable.
...
That is odd. You can do trim.
var x := ' abc ';
var y := x.Trim;
or even
var y := ' abc '.Trim;
and similarly for replace:
var z := y.Replace( 'a', 'A' );
These are methods of the String class (along with many others). So Delphi Prism may not document them, but a simple search for ".net trim" found the msdn documentation.
I think you will find there is MUCH MORE power in .Net and Delphi Prism than there is in Delphi.