[nondet,multifile]environment(-Name,
-Value)Hook to define the environment for building packs. This Multifile hook
extends the process environment for building foreign extensions. A value
provided by this hook overrules defaults provided by def_environment/2.
In addition to changing the environment, this may be used to pass
additional values to the environment, as in:
prolog_pack:environment('USER', User) :-
getenv('USER', User).
Name | is an atom denoting a valid variable
name |
Value | is either an atom or number
representing the value of the variable. |