Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalNumber ValueStringDefaultGet( SalString sSection, SalString sEntry, SalString sDefault, ref SalString sValue )
The ValueStringDefaultGet method reads a string value from the default profile.
Name | Description |
---|---|
SalString sSection | Name of section from which to read the value. The section name is combined with the entry name to form a unique key for the value to be written. |
SalString sEntry | Name of entry to read in the specified section. |
SalString sDefault | Value that will be returned in sValue if the specified entry and section does not exist. |
ref SalString sValue | Value of the specified entry read from the profile. |
The return value is the string length of sValue.
The ValueStringDefaultGet method does not check the personal profile for the specified entry. To read the personal profile, applications should use the ValueStringGet method.
! Reset to default values Call Profile.ValueStringDefaultGet ( sProfileSection, 'EnterToTab', sDefault, sValue ) Call _MDIMapEnterToTabSet( ( sValue = 'TRUE' ) )// Get global queries from personal profile Var.Profile.ValueStringGet(sViewName, "QueryList", Const.strNULL, ref sQueryList);