ReadProfileString( )
| Action: | Retrieves
a string from an initialization file. |
| Syntax: | ReadProfileString
("file name", "section",
"key") |
| Parameters: |
File
name
Section
Key
|
| Remarks: |
This
function is provided for compatibility with 16-bit Windows
– based applications.
Most Win32 –
based applications store initialization information in the
registry. |
| Returns: |
Function
returns a string representing the value of the specified key. |
| See Also: |
WriteProfileString(
), ReadLine(
), WriteLine( ) |
| Example: |
$dev
= ReadProfileString("win.ini", "Windows",
"Device") |