B4J Question Console output

madru

Active Member
Licensed User
Longtime User
Hi,

can we control (sending escape sequences) the output of a console app?

e.g. in python in can do something like this to get the cursor 5 lines up:
B4X:
print "\33[{:d}A".format(5 + 1)

or how to do a proper console app with some kind of "GUI"?

every suggestion is welcome
 

madru

Active Member
Licensed User
Longtime User
ok, will try BytesToString with ASCII, both alternatives will not work (no GUI, no Network)
 
Upvote 0

roerGarcia

Active Member
Licensed User
Longtime User
It looks like what you want is something like this:

I assume you know the escape sequences (esc [rows-to-move-upA, B, C, etc)

Maybe your application should only run and give certain information formatted via console?

Google traductor
 
Upvote 0

madru

Active Member
Licensed User
Longtime User
yep, correct I am after something like that....

it is mainly for output of machinery data and will (must) have 4 x toggles
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…