I’m trying to use the console functions of smallBASIC (see the documentation: Home > Reference > Console). Functions such as INKEY, CLS or AT do absolutely nothing for me, even when I use the sample code provided. It looks like these functions are simply ignored, at least when using konsole or xterm.
For the record, I’m using the console version of smallBASIC, sbasic, NOT the graphical versions sbasicg or sbasici. The funny thing is that those graphical versions seem to work, even though they’re not supposed to be console versions.
Running Kubuntu 24.04 LTS.
If anyone knows more about this, I’d be grateful.
Thanks.
the console version (sbasic) supports at the moment only a small subset of the input and output commands. Maybe I should create a list of the supported functions.
Lately. I used the console version a lot and I was considering to implement some more functions, for example to get the cursor position or to determine the height and width of the terminal.
I’ve started implementing the functions I’m missing in my local fork.
But it’s clear that having official functions like cls or locate—and having them working properly—would be great!