Symptoms:
- platform: Windows / Mac?
- printh from a program yields nothing in the program output window
How to reproduce:
- copy following code in main.lua
printh("bob") |
precision: confirmed to work on Linux, text is directed to the console that launched picotron
AFAIK printh()
isn't implemented - but would be a useful feature. See also here.
I'm running 0.1.0e on MacOS and still can't get any output from printh(). Anyone else succeed at this on MacOS?
tbh I’m on a Picotron emulated on Chromebook terminal (with box64 as my hardware is arm-based), and “printh” doesn’t work at all; “print” is the better syntax for now.
you need to run picotron from the OS console/shell.
printh doesn’t display within picotron.
Here's the batch file I have on my Windows desktop to launch picotron with the command window for debugging (printh will show in the command window which I generally have on a second screen):
cd C:\Program Files (x86)\Picotron
picotron.exe
pause
[Please log in to post a comment]