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
Text Fill (Memo)
by
paweld
[
Today
at 09:09:13 am]
Qt6/Wayland clipboard: pa...
by
AlexTP
[
Today
at 08:56:58 am]
Questions about TFuncSeri...
by
hedgehog
[
Today
at 08:37:54 am]
declaring Array
by
440bx
[
Today
at 06:40:37 am]
Pocketbase
by
PierceNg
[
Today
at 06:29:04 am]
ADUG Symposium 2026
by
Mathias Burbach
[
Today
at 04:45:57 am]
Hello! Anything new?
by
dbannon
[
Today
at 03:00:38 am]
Problem with drawing orde...
by
wp
[
Today
at 01:09:06 am]
Any way to "embed" Window...
by
jamie
[
Today
at 12:55:37 am]
CryptoLib4Pascal
by
Xor-el
[
Today
at 12:39:35 am]
GTK3 : Icons have borders...
by
Schmitty2005
[March 13, 2026, 11:31:58 pm]
CONCAT formula
by
veb86
[March 13, 2026, 05:20:42 pm]
DataPort StopBits and Flo...
by
Thaddy
[March 13, 2026, 02:14:16 pm]
TChart: Wrong default val...
by
wp
[March 13, 2026, 02:03:58 pm]
Lazarus Bugfix Release 4....
by
JuhaManninen
[March 13, 2026, 10:05:03 am]
88 year D. Knuth changes ...
by
Thaddy
[March 13, 2026, 07:31:38 am]
could Ardour's YTK be use...
by
dbannon
[March 13, 2026, 05:20:21 am]
interface and GUID someth...
by
egsuh
[March 13, 2026, 03:31:00 am]
CADSys4 3D.
by
maurog
[March 13, 2026, 01:00:05 am]
UOS - pre-compiled librar...
by
Fred vS
[March 13, 2026, 12:34:06 am]
Pipewire API
by
Fred vS
[March 12, 2026, 10:11:02 pm]
TSplitter color property ...
by
valdir.marcos
[March 12, 2026, 09:20:11 pm]
ShortStrings vs long stri...
by
valdir.marcos
[March 12, 2026, 08:55:02 pm]
LazPaint (alpha-blending,...
by
CM630
[March 12, 2026, 08:38:30 pm]
Z80 ZX Spectrum and Syste...
by
d2010
[March 12, 2026, 07:58:28 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Strange behavior of tab character (Read 574 times)
simsee
Full Member
Posts: 235
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: 12715
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: 235
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: 7602
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: 12715
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: 235
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