Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
Strange behavior of tab character
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
I hope FreePascal can sup...
by
440bx
[
Today
at 02:57:50 am]
Weird error
by
n7800
[
Today
at 02:31:23 am]
How to merge multiple cla...
by
cdbc
[
Today
at 02:16:37 am]
Remote desktop software i...
by
Boleeman
[
Today
at 12:59:14 am]
AI assisted translation o...
by
schuler
[April 13, 2026, 10:41:29 pm]
FPC Unleashed (inline var...
by
Fibonacci
[April 13, 2026, 09:21:04 pm]
fp-h2pas: New C header tr...
by
Gustavo 'Gus' Carreno
[April 13, 2026, 06:32:22 pm]
Nezplug Library Player
by
Gigatron
[April 13, 2026, 04:15:33 pm]
Eschecs (UCI chess GUI) 5...
by
Roland57
[April 13, 2026, 04:10:12 pm]
[ANN] fpGUI Toolkit v2.0....
by
cdbc
[April 13, 2026, 03:14:21 pm]
Lazarus Bugfix Release 4....
by
dbannon
[April 13, 2026, 01:52:18 pm]
Strange happenings with T...
by
jamie
[April 13, 2026, 12:41:42 pm]
Little bit...
by
jamie
[April 13, 2026, 12:17:43 pm]
Necromancer's Dos Navigat...
by
dbannon
[April 13, 2026, 11:03:26 am]
Can't pass string to TEdi...
by
cdbc
[April 13, 2026, 10:13:44 am]
Fixed Bzip2 unpacker from...
by
domasz
[April 13, 2026, 08:09:54 am]
Ann: DeCoperators
by
Thaddy
[April 13, 2026, 07:37:29 am]
Bad Sandwich
by
Guva
[April 12, 2026, 09:55:25 pm]
ZeosDB and sqlite3
by
dseligo
[April 12, 2026, 09:06:22 pm]
The ever re-appearing /= ...
by
Thaddy
[April 12, 2026, 08:07:09 pm]
Some Lazarus Graphics Rel...
by
Boleeman
[April 12, 2026, 03:45:30 pm]
Some Lazarus Utils N Stuf...
by
Boleeman
[April 12, 2026, 03:39:45 pm]
Ann: Deinline: a de-inlin...
by
Fred vS
[April 12, 2026, 03:17:40 pm]
BAScript - Simple scripti...
by
Ñuño_Martínez
[April 12, 2026, 01:00:21 pm]
NiceGrid component for La...
by
Alexandr R
[April 12, 2026, 11:02:54 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Strange behavior of tab character (Read 731 times)
simsee
Full Member
Posts: 236
Strange behavior of tab character
«
on:
November 30, 2025, 05:27:09 pm »
Why does writeln sometimes display the tab character (ascii #9) in a string with a little circle, instead of performing a character gap?
Logged
marcov
Administrator
Hero Member
Posts: 12768
FPC developer.
Re: Strange behavior of tab character
«
Reply #1 on:
November 30, 2025, 05:30:28 pm »
Probably you output it with stdout in RAW mode.
Logged
simsee
Full Member
Posts: 236
Re: Strange behavior of tab character
«
Reply #2 on:
November 30, 2025, 05:33:09 pm »
This happens in one of my apps, but not in others. What setting affects this behavior?
Logged
jamie
Hero Member
Posts: 7660
Re: Strange behavior of tab character
«
Reply #3 on:
November 30, 2025, 05:49:07 pm »
canvas.Textout Does not support a TAB, you must emulate it,
WriteStr, Write and WriteLn should work, however.
If those are not working then yes, something is amidst !
Logged
The only true wisdom is knowing you know nothing
marcov
Administrator
Hero Member
Posts: 12768
FPC developer.
Re: Strange behavior of tab character
«
Reply #4 on:
November 30, 2025, 05:55:22 pm »
Quote from: simsee on November 30, 2025, 05:33:09 pm
This happens in one of my apps, but not in others. What setting affects this behavior?
You don't give much information, but units like CRT or VIDEO (used anywhere in the program!) might have such effect.
Logged
simsee
Full Member
Posts: 236
Re: Strange behavior of tab character
«
Reply #5 on:
November 30, 2025, 06:58:55 pm »
For some reason, I had unnecessarily included
Crt
in the uses clause of the unit where
writeln
was exhibiting this strange behavior with tab. I'm under Windows. Removing the inclusion solved the problem. Thanks Marcov!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
General
(Moderators:
FPK
,
Tomas Hajny
) »
Strange behavior of tab character
TinyPortal
© 2005-2018