Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tab() special behaviour in Console?
#1
Hi,

I was programming a print line with the tab() function, and found it to print way too far on the line. While normally Tab() neatly prints next text on the same position in the line(s).
Isolation the code and doing some experimenting shows that Tab() works fine without console, but in the console it seems a constant bunch of spaces. Is this meant to be? I can't find notes on this.

Code: (Select All)
$CONSOLE:ONLY
_DEST _CONSOLE

zipfile$ = "TestingFile.zip"
datetab = LEN(zipfile$) + 4 ' v1.2
PRINT zipfile$; "<<"
PRINT LEN(zipfile$)
PRINT datetab
' ~~~~~
PRINT "hoi"; TAB(datetab); "test"
PRINT "hoihoihoihoi"; TAB(datetab); "test"

Output, run with and without the two console lines:

[Image: Screenshot-2025-11-29-120941.png]

For now, I will add some code to resolve this manually.  But is this a bug, or a feature?

Thanks!
Reply


Messages In This Thread
Tab() special behaviour in Console? - by zaadstra - 11-29-2025, 11:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Print strings with accents and special chars Ikerkaz 8 675 12-20-2025, 09:28 PM
Last Post: TempodiBasic
  Make IDE $Console:Only output readably large dakra137 1 523 10-10-2025, 12:21 PM
Last Post: hsiangch_ong
  keyboard issue ? SHIFT + TAB not detected (linux) Herve 13 1,758 08-27-2025, 09:47 AM
Last Post: Herve
  console only OR screen only mdijkens 2 859 09-04-2024, 09:34 PM
Last Post: mdijkens

Forum Jump:


Users browsing this thread: