document souce_location/2.
This commit is contained in:
parent
b15d9c0363
commit
84f5dfec7d
@ -8094,6 +8094,12 @@ Stream position at the stream currently being read in.
|
||||
|
||||
@end table
|
||||
|
||||
@item source_location(?@var{FileName}, ?@var{Line})
|
||||
@findex source_location/2
|
||||
@syindex source_location/2
|
||||
@cnindex source_location/2
|
||||
SWI-compatible predicate. If the last term has been read from a physical file (i.e., not from the file user or a string), unify File with an absolute path to the file and Line with the line-number in the file. Please use @code{prolog_load_context/2}.
|
||||
|
||||
@node Library, SWI-Prolog, Built-ins, Top
|
||||
|
||||
@chapter Library Predicates
|
||||
|
Reference in New Issue
Block a user