It is currently Mon Aug 03, 2020 6:47 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Preferences
PostPosted: Wed Mar 04, 2020 4:31 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 1126
Not sure if this belongs to the 'Bugs Documentation' or another bugs section.

In some descriptions of preference files (such as OpenPreferences()), the following file is referenced, but not existing:
Code:
#PB_Compiler_Home+"Examples\Sources\Data\test.pref"

_________________
sorry for my bad english


Top
 Profile  
Reply with quote  
 Post subject: Re: Preferences
PostPosted: Wed Mar 04, 2020 10:46 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 1847
Location: Germany (Saxony, Deutscheinsiedel)
Created and added such a 'test.pref' file, including several groups with keys and their values. So all command examples should work now :D

Btw. optimized the style of the code examples in the Preference library too, including missing translations (english / german).

TODO: If Fred can confirm this, a note/remark could be added, that all Preference group and key names are handled as 'case-insensitive', so a group/key 'window' will also be found, if the user searches for 'Window' and vice-a-versa.

_________________
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye