retrieves a profile string
include 'iolib.h' getprofile(File, App, Key, Default, Value)
getprofile(File, App, Key, Default, Value) (i,i,i,i,o) (i,i,i,i,i))
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.
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
No errors.
prolog-process, client-server, object