From d1d834820ddaba4fa31e6ab6d07a96ac7cc6d999 Mon Sep 17 00:00:00 2001 From: serge Date: Thu, 10 Jan 2013 09:07:38 -0500 Subject: Add application:get_key/3 The new function provides a default value for a configuration parameter. --- lib/kernel/doc/src/application.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/kernel/doc') diff --git a/lib/kernel/doc/src/application.xml b/lib/kernel/doc/src/application.xml index 51a3311ec2..3513e2b592 100644 --- a/lib/kernel/doc/src/application.xml +++ b/lib/kernel/doc/src/application.xml @@ -108,12 +108,14 @@ + Get the value of a configuration parameter

Returns the value of the configuration parameter Par for Application. If the application argument is omitted, it defaults to the application of the calling - process.

+ process. If Def value is provided, it is returned + when no configuration parameter Par is defined.

If the specified application is not loaded, or the configuration parameter does not exist, or if the process executing the call does not belong to any application, -- cgit v1.2.3