tranleduy2000 / pascalnide

Pascal Compiler for Android
91 stars 25 forks source link

Insert TAB in string #43

Open JonasHau opened 4 years ago

JonasHau commented 4 years ago

Description

I work on a program that writes the fibonacci sequence and I want to arrange my numbers. From what I learned, you can print TAB by using #9 (the ascii value of TAB).

Problem

This line of code compile but doesn't do anything Write(#9);

This line of code produce a compilation error Write('1 '#9); '1 '#9

This line of code doesn't add a TAB Write(`1 `,#9); `1 `,#9

I ran the same code in FreePascal and OnlineGDB, this works

Tima2525 commented 2 years ago

Вот способы: Writeln Gotoxy