As you mentioned, [if]/[else]/[then] spread over multiple lines doesn't work in include files, because these words rely on query, and query doesn't work as expected when feeding the include file to evaluate line-by-line.
https://github.com/spyren/Mecrisp-Cube/blob/master/sdcard/man/FileSystem.md#interpreter-directives
However, if include were implemented using IO redirection instead, wouldn't that circumvent the issue with query?
As you mentioned, [if]/[else]/[then] spread over multiple lines doesn't work in include files, because these words rely on query, and query doesn't work as expected when feeding the include file to evaluate line-by-line.
https://github.com/spyren/Mecrisp-Cube/blob/master/sdcard/man/FileSystem.md#interpreter-directives
However, if include were implemented using IO redirection instead, wouldn't that circumvent the issue with query?