On Thursday 02 June 2005 21:28, L505 wrote: > | > In C++: > | > > | > TStringList strlist; > | > > | > strlist = new TStringList; > | > > | > How is that shorter ? > | > | okay but its still redundant. Why does the compiler need to have it > | spelt out twice? Why cant the compiler deduce that as the pointer is > | declared as TStringlist therefore it creates a TStringList? > > Why can't I just go > > strlist = new > > Draw the line.
(and you can, in several script languages) -- Regards, Christian Iversen _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel