9.0
173
variable each element is read in se
q
uence. For a d
y
namic arra
y
variable the numbe
r
of dimensions and ran
g
e of each dimension is read
p
rior to readin
g
the arra
y
values.
All binary data values are read from the file in little-endian format.
Note: When readin
g
a strin
g
(
or a d
y
namic arra
y)
from a Binar
y
mode file the len
g
th
(or array dimension) information is not read. The current string length determines
how much string data is read. The current array dimension determines how may
array elements are read.
See Also: Open, Put.
Example
Sub Main
Dim
V As Variant
Open
"SAVE_V.DAT" For Binary Access Read As #1
Get #1, , V
Close #1
End
Sub
GetAllSettings Function
Syntax
GetAllSettings(AppName$, Section$, Key$)
Group
Settings
Description
Get all of Section's settings in project AppName. Settings are returned in a Variant. Empty is returned if there are
no keys in the section. Otherwise, the Variant contains a two dimension array: (I,0) is the key and (I,1) is the
setting. Win16 and Win32s store settings in a .ini file named AppName
. Win32 stores settings in the registration
database.
Parameter Description
AppName$ This string value is the name of the project which has this Section and Key.
Section$ This string value is the name of the section of the project settings.
Example
Sub Main
SaveSetting
"MyApp","Font","Size",10
SaveSetting
"MyApp","Font","Name","Courier"
Settings = GetAllSettings("MyApp","Font")
For
I = LBound(Settings) To UBound(Settings)
Debug
.Print Settings(I,0); "="; Settings(I,1)
Next I
DeleteSetting
"MyApp","Font"
End
Sub










