Re: [fpc-pascal] Some questions regarding language changes in trunk

2014-02-09 Thread Sven Barth
On 09.02.2014 16:02, leledumbo wrote: This won't have any negative impact on logical expressions I expect that. I suppose the compiler has a mechanism for this such that "if true then" would work. I haven't explicitely checked it nor looked at the code (no time currently), but it should eith

Re: [fpc-pascal] Some questions regarding language changes in trunk

2014-02-09 Thread leledumbo
> This won't have any negative impact on logical expressions I expect that. I suppose the compiler has a mechanism for this such that "if true then" would work. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Some-questions-regarding-language-changes-in-trunk-

Re: [fpc-pascal] Some questions regarding language changes in trunk

2014-02-09 Thread Sven Barth
On 09.02.2014 03:48, leledumbo wrote: http://wiki.freepascal.org/User_Changes_Trunk#Comparative_operators_can_have_any_result_type Is this a preparation for LINQ-like functionality? Delphi compatibility. But as the example shows you could use it for LINQ-like functionality as well. htt

[fpc-pascal] Some questions regarding language changes in trunk

2014-02-08 Thread leledumbo
> http://wiki.freepascal.org/User_Changes_Trunk#Comparative_operators_can_have_any_result_type Is this a preparation for LINQ-like functionality? > http://wiki.freepascal.org/User_Changes_Trunk#True_and_False_are_not_keywords_anymore With false and true being integer, how could it be used in an