getprofile
Previous: getenv
Next: gotowindow
6.2.69. getprofile
retrieves a profile string
SYNOPSIS
include 'iolib.h' getprofile(File, App, Key, Default, Value)
SYNTAX
getprofile(File, App, Key, Default, Value) (i,i,i,i,o) (i,i,i,i,i))
ARGUMENTS
string(File) (i) Host environment profile file.
string(App) (i) Application section in File.
string(Key) (i) Keyword for Value
string(Default) (i), integer(Default) Value to return if Key not found.
void(Value) Value stored in Key.
DESCRIPTION
This predicate returns environment information from the host system. The exact implementation and meaning of the arguments is host dependent.
Currently getprofilestring is available only for the MS-Windows host server WIO :
The profile information is strored in '.INI' files, e.g. WIN.INI, structured into
sections headed with
ERRORS
No errors.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
BAP Online Manuals : Library Reference : Library by Name : getprofile
Previous: getenv
Next: gotowindow