Syntax
| ReadIniSection section$,ArrayOfItems()[,filename$]
| ||||||||
---|---|---|---|---|---|---|---|---|---|
Description
| Fills an array with the item names from a given section of the specified ini file.
On return, the ArrayOfItems() parameter will contain one array element for each variable in the specified ini section.
| ||||||||
See Also
| |||||||||
Example
| Sub Main
Dim items() As String
Dim x as integer
ReadIniSection “Editor”,items()
For x = LBound(items) to UBound(items)
Debug.Print x & “: “ & items(x)
Next x
End Sub
|