Cicode Programming Reference > Cicode Function Categories > Window Functions Introduction > WndGetFileProfile

WndGetFileProfile

Gets a profile string from any .ini file.

Syntax

WndGetFileProfile(sGroup, sName, sDefault, sFile)

sGroup:

The name of the [group].

sName:

The name of the variable.

sDefault:

The default value.

sFile:

The .ini file name.

Return Value

The profile string from sFile.

Related Functions

WndPutFileProfile

Example

! get this user startup page from USER.INI File
sStartup = WndGetFileProfile(Name(),"Startup","menu","[Run]:\USER.INI");
PageDisplay(sStartup);

See Also

Window Functions