2 Getting started

This section introduces programming the XPCE/Prolog environment: the entities (objects), referencing objects and manipulating objects. Most of the material is introduced with examples. A complete definition of the interface primitives is given in appendix D.

Section Index

2.1 Starting XPCE/Prolog
2.2 Prolog ... and what?
2.2.1 Creating objects: new
2.2.2 Modifying object state: send
2.2.3 Querying objects: get
2.2.4 Removing objects: free
2.3 Optional arguments
2.4 Named arguments
2.5 Argument conversion
2.6 Send and get with more arguments
2.7 Notation
2.8 Example: show files in directory
2.9 Summary