Next: Profiler and Other Tools
Up: Other Built-in Predicates
Previous: All solutions
  Contents
  Index
- cutto(Cp)
Let Cp be the latest choice point frame.
- cputime(T)
The current cpu time is T.
- halt
Halts Prolog.
- length(List,Length)
The length of list List is Length.
- numbervars(Term,N,M)
Numbers the variables in the term Term from N to M-1.
- repeat
Succeeds repeatedly.
- savecp(Cp)
Sets Cp to be the latest choice point frame.
- sort(List1,List2)
Sorting List1 yields List2.
- system(Command)
Executes the Unix command Command.(?)
- system(Command,Status)
Executes the Unix command Command and bound Status
to the status returned from the shell.
- chdir(+Atom)
Change the current working directory to Atom.
- get_main_args(L)
The list of arguments of the bp command is L. This
predicate is useful when one wants to write stand-alone Prolog
applications (see FAQ).
- set_prolog_flag(unknown,fail)
Treat calls to undefined predicates as fail.
- set_prolog_flag(singleton,off)
After the flag singleton is turned off, no warning message about singleton variables will be emitted by the system.
- set_prolog_flag(singleton,on)
Turn the singleton flag on.
- current_prolog_flag(Flag,Value)
Value is the current value that is set to the flag Flag.
Next: Profiler and Other Tools
Up: Other Built-in Predicates
Previous: All solutions
  Contents
  Index
Neng-Fa Zhou
1999-11-24