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
Khrys
[
Today
at 09:21:50 am]
Remote desktop software i...
by
Ericktux
[
Today
at 08:47:55 am]
Delimited text - how find...
by
Zvoni
[
Today
at 08:47:36 am]
Naming daemons during ins...
by
LeP
[
Today
at 08:46:39 am]
FPC Unleashed (inline var...
by
Khrys
[
Today
at 07:54:19 am]
AI assisted translation o...
by
Thaddy
[
Today
at 06:54:14 am]
Zipper: Addition of mult...
by
dgrhoads
[
Today
at 06:48:20 am]
[SOLVED] Can't pass strin...
by
mas steindorff
[April 14, 2026, 08:51:15 pm]
Fast Canvas Library V1.05...
by
Gigatron
[April 14, 2026, 08:39:38 pm]
Translation of Lazarus ID...
by
pmralbuquerque
[April 14, 2026, 07:47:01 pm]
PWM signals, atmega328p, ...
by
ccrause
[April 14, 2026, 07:26:20 pm]
GTK3: FillRect() mispaint...
by
zeljko
[April 14, 2026, 07:23:52 pm]
Necromancer's Dos Navigat...
by
Thaddy
[April 14, 2026, 06:26:29 pm]
TUpDown KeyDown event
by
LeP
[April 14, 2026, 06:01:57 pm]
Trying to plot points, bu...
by
garymq
[April 14, 2026, 02:01:36 pm]
SPC Player Library
by
creaothceann
[April 14, 2026, 01:59:25 pm]
How to merge multiple cla...
by
cdbc
[April 14, 2026, 11:57:56 am]
Fractal of Mandelbrot
by
Boleeman
[April 14, 2026, 10:20:21 am]
Ann: DeCoperators
by
Thaddy
[April 14, 2026, 09:23:24 am]
My project to build and p...
by
krolikbest
[April 14, 2026, 09:07:12 am]
Weird error
by
xiyi0616
[April 14, 2026, 07:10:18 am]
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]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Strange behavior of tab character (Read 734 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: 12770
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: 12770
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