Page 1 of 1

Preferences supporting TAB

Posted: Mon Feb 28, 2005 8:32 am
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

Posted: Mon Feb 28, 2005 11:56 am
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

Posted: Mon Feb 28, 2005 2:36 pm
by Fred
good ideas