With this compiler query you can test under which operating system your code runs. In your example, the event loop will only be included in the compilation if you do not run the code in the web browser.
So you can (theoretically) run your code without big changes under Windows, Linux, MacOS with PureBasic and in the web browser with SpiderBasic. If you only want to program for the web, you can remove the compiler query.