...Edit: Now I see: To invoke it just put () at the end:Code: Pascal [Select][+][-] I := cbIgnoreInstaCal();
This is sad design flaw in Pascal.
Quote from: bytebites on January 15, 2025, 01:15:16 pmThis is sad design flaw in Pascal.It's an explicit design decision in the FPC and ObjFPC modes, so that it can be better differentiated between calling the function and copying the value of the function pointer.