Page 1 of 1

One more command for "PreferenceGroups"

Posted: Thu Aug 27, 2009 10:33 pm
by ar-s
Concerning the preference command, it will be usefull to have a command which return us the number of "groups" in a pref file without using a code like :

Code: Select all

If OpenPreferences(MyPrefFile$)
  If ExaminePreferenceGroups()
    GroupNum=0
    While NextPreferenceGroup()
      GroupNum=GroupNum+1
    Wend
  EndIf
ClosePreferences()
A command like result=CountPreferenceGroups() will be great !