This appears to not be true, at least for what I have seen. I think this has been true for some time - I just noticed it.If this function is not called before setting a new windowed mode via Screen (Graphics), the program window will use the executable file name (without the extension) as title by default.
I get "Unnamed Window"
It is a bug, or just change docs. Doesn't matter to me.
If this works correctly on latest version, then no problem.
I still use:
david@HutchLU:~/Desktop$ fbc --version
FreeBASIC Compiler - Version 1.07.0 (05-20-2019), built for linux-x86_64 (64bit)
Copyright (C) 2004-2019 The FreeBASIC development team.