[Implemented] OpenPreferences(), optional flags

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
horst
Enthusiast
Enthusiast
Posts: 197
Joined: Wed May 28, 2003 6:57 am
Location: Munich
Contact:

[Implemented] OpenPreferences(), optional flags

Post by horst »

I would very much appreciate optional flags for Open/CreatePreferences(), that will affect writing preference data:

#PB_Preferences_NoSpace - no spaces around the equal signs

#PB_Preferences_GroupSeparators - make sure there is an empty line before each Group (except first)
Horst.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

This would be good, I hate the spaces around equial signs. The blank line would be a nice touch too.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

+1
I like logic, hence I dislike humans but love computers.
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Post by naw »

I would also like a flag that specifies wether there are speech marks around values for reading / writing - eg:

[mysection]
ITEM1 = "some text"
ITEM2 = "some more text"
ITEM3 = "some
text that
spreads over
several lines"
ITEM4 = "the last piece of text"
Ta - N
Post Reply