YAP 7.1.0
source_location/3

start input for a meta-clause More...

Detailed Description

start input for a meta-clause

Should obtain:

  • predicate name
  • predicate arity
  • address for 256 cluses
Parameters
ARG1input stream
ARG2Adress of predicate
ARG3Term read
Returns
[description]

source_location( - File , Line, Offset )

unify File and Line wuth the position of the last term read, if the term comes from a stream created by opening a file-system path with open/3 and friends It ignores user_input or sockets

Parameters
-File
-Line
Note
SWI-Prolog built-in

The documentation for this class was generated from the following file: