Print vs Print #2, results with TAB different

General FreeBASIC programming questions.
Flyzone
Posts: 109
Joined: Nov 17, 2017 17:39

Re: Print vs Print #2, results with TAB different

Post by Flyzone »

Apparently, this was resolved by version 10.

I never looked at the changelogs before but I'd certainly like to see the keycaps on the keyboards of the folks who work on this stuff. The letters just have to be gone. Amazing work.
fxm
Moderator
Posts: 12145
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Print vs Print #2, results with TAB different

Post by fxm »

Flyzone wrote: Jun 22, 2023 11:30 Apparently, this was resolved by version 10.

What is resolved ?
I always get this behavior:
Flyzone wrote: Apr 19, 2023 0:58 Interesting. But by specifying CONS as output, mine doesn't.

Code: Select all

Dim As Integer a(5, 2)
Dim As Integer x = 3
a(x, 1) = 123
Dim As String s = "fxm"

Print a(x,1); Tab(50); s

Open CONS For Output As #2
    Print #2, a(x,1); Tab(50); s
Close #2

Sleep
Output:

Code: Select all

 123                                             fxm
 123          fxm
Flyzone
Posts: 109
Joined: Nov 17, 2017 17:39

Re: Print vs Print #2, results with TAB different

Post by Flyzone »

Umm ... maybe not. My reading of CHANGELOG.TXT assumed all entries pertained to version 10. Not so. A past entry that referenced PRINT TAB looked like a fix was from a much older version.
Post Reply