[fpc-pascal] New feature: IfThen() intrinsic

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Mon Feb 1 16:09:02 CET 2016


So finally we have the ternary operator in Pascal? This will simplify
converting from C to Pascal.

>  j ;= IfThen(i < 32, 48, 21);

I guess this is a typo and should be ":=" instead of ";="

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list