Did you know ...
Search Documentation:
Get methods
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
Packages
XPCE
Classes
class function
Get methods
function<-_execute
function<-forward
function<-_forward
function<-convert
function<-execute
1.64.1
Get methods
function <-_execute:
->
unchecked
Objects of class
function
itself cannot be executed. Yields an error message and fails. Redefined by all subclasses of class
function
.
function <-forward:
any ...
->
unchecked
function <-_forward:
any ...
->
unchecked
Bind
@arg1
, ... from the arguments and
function
<-
execute
the function. Note that
@arg1
is a function itself, thus
?- get(@arg1, forward, 4, X). ==> X = 4
function <-convert:
quote=quote_function
->
function
Converts an instance of class
quote_function
into the function quoted. See class
quote_function
for details.
function <-execute:
->
unchecked
Explicitly evaluate the function. See class
function
itself for the default evaluation rules. Class
quote_function
avoids evaluation of
function
objects.
Calls
function
<-
_execute
to perform the real job.