On 29/9/2026 2:46, Mattias Gaertner via fpc-pascal wrote: > Hi all, > > FPC trunk (3.3.1) now supports statement expressions. You can use if, > case and try..except as expressions that return a value. > Big thanks to Frederic Kehrein who implemented most parts. Thank you for your contribution. Dennis