|
|
|
|
#1 |
|
Junior Member
Join Date: Jun 2007
Posts: 10
|
Counf keys in ini section
Hello.
How can I count keys in section or check if any key exists in section in ini file? I can use EnumINI plugin but that is very uncomfortable way. bye... |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2007
Posts: 10
|
And there's no easier way? Do I have to define custom function to handle this?
|
|
|
|
|
|
#4 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
There are no built-in functions for this if that's what you're asking.
For counting, Afrow's is probably the best you're going to get (aside from writing your own function/macro). For checking the existence of a key, you could use: code: |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jun 2007
Posts: 10
|
Yes, but I want to know if any key exists in section (count of keys is gross than 0) becouse I don't know name of keys and I don't need it.
bye... |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|