I’ve tested the same code (in addition to a trace call) and put it into another basic project.
This is the results as executed and expected:
I removed the interpreter execute part and get the following results:
So no, hscript seems to handle one-liners quite well, so something in my project is causing this error but I’m unsure what.
EDIT: The same basic project also works in my primary target, JavaScript. So not a target-specific problem.
Nevermind, it was part of another line, just wasn’t obvious at first which line it was on my script.


