>> I can't think of a use case either. And just because another language >> provides such a solution, does not imply that FPC should. As to achieving >> the functionality in FPC: >> >> if cond then >> while cond do >> foo >> else >> bar; > >That's what I've thought about from the beginning of this discussion..
The only drawback is that "cond" is calculated twice instead of once before the actual loop body -- not all will be happy.. ;-) -- WBR, Max. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel