alan-if / alan

ALAN IF compilers and interpreters
https://alanif.se
Other
19 stars 3 forks source link

Transcript is always empty when started from code #40

Closed angstsmurf closed 3 years ago

angstsmurf commented 3 years ago

If you start a transcript by typing SCRIPT ON (as opposed to starting it with the -l command line option) a transcript file is created but never printed to, so it stays empty.

The reason seems to be that the global transcriptOption is never set to true.

I haven't studied the code closely, but if I just add transcriptOption = true; to line 735 in exe.c, it works as it should, as far as I can tell.

thoni56 commented 3 years ago

Thanks for reporting! Confirmed. Your suggestion is about right. A fix is coming very soon.