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);
This line of code doesn't add a TAB
Write(`1 `,#9);
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);
This line of code doesn't add a TAB
Write(`1 `,#9);
I ran the same code in FreePascal and OnlineGDB, this works