Thanks again, lots of ways to achieve the same thing.
Now seeing the special 'Result' variable again reminded me of it's existence.
I'm also using a copy Lazarus within WSL2 (via fpcupdeluxe) only as a way to install the tooling, I'm using FreePascal Toolkit within VSCode to code and compile on my Work laptop.
For my personal computer running Fedora I'm also using fpcupdeluxe to get the software, but run Lazarus IDE on the desktop.