Preferences supporting TAB

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
griz
Enthusiast
Enthusiast
Posts: 167
Joined: Sun Jun 29, 2003 7:32 pm
Location: Canada

Preferences supporting TAB

Post by griz »

I recently reformatted a preferences file using TAB characters and the values were no longer being read in properly. I would like to be able to use TABs and Spaces for formatting preference files. Does anyone else have this trouble? I haven't tried it on another computer yet and don't think it's a bug so I thought I'd post this here.

From this :

Code: Select all

[Screen]
width=1280
height=1024
To this :

Code: Select all

[Screen]
   width=1280
   height=1024
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Post by Lebostein »

...and an empty line after every group. Now:
[game]
level=1
lives=10
[screen]
widx=800
widy=600
Better:
[game]
level=1
lives=10

[screen]
widx=800
widy=600
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

good ideas
Post Reply