When I run your code it gives the following error:
[21:59:58] Waiting for executable to start...
[21:59:58] Executable type: Linux - x64 (64bit, Unicode)
[21:59:58] Executable started.
[21:59:58] [ERROR] Line: 2
[21:59:58] [ERROR] No console is currently opened. OpenConsole() must be called first.
I don't know if it helps at all, but this produces the expected output for me:
Code: Select all
s$=GetHomeDirectory()+"data/file.dat"
Debug s$
Moulder.