[fpc-pascal] Some questions regarding language changes in trunk
leledumbo
leledumbo_cool at yahoo.co.id
Sun Feb 9 03:48:04 CET 2014
>
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
boolean-expression-expected context? e.g. if, while and until condition?
Anyway, AFAIK classically Boolean is declared as enum:
type Boolean = (False,True);
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Some-questions-regarding-language-changes-in-trunk-tp5718272.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list