ValueNumberDefaultGet

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 ValueNumberDefaultGet( SalString sSection,
		              SalString sEntry,
		              SalNumber nDefault )

The ValueNumberDefaultGet method reads a numeric value from the default profile.

Parameters

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.
SalNumber nDefault Value that will be returned in sValue if the specified entry and section does not exist.

Returns

The return value is the numeric entry value, or nDefault if the entry was not found.

Comments

The ValueNumberDefaultGet method does not check the personal profile for the specified entry. To read the personal profile, applications should use the ValueNumberGet method.