
Reference Manual
Volume III
Interfaces Guide
Version 6.24
June 15th 2006
CLIPS Interfaces
Guide
Version 6.24 June 15th 2006
CONTENTS
License
Information....................................................................................................................... i
Preface............................................................................................................................................ iii
Acknowledgements...................................................................................................................... vii
Section 1 ‑ Introduction................................................................................................................ 1
Section 2 - CLIPS Windows Interface......................................................................................... 3
2.1 The File Menu...................................................................................................................... 4
2.1.1 New (Ctrl+N)............................................................................................................. 4
2.1.2 Open... (Ctrl+O)......................................................................................................... 4
2.1.3 Load... (Ctrl+L)........................................................................................................... 4
2.1.4 Load Batch.................................................................................................................. 5
2.1.5 Load Binary................................................................................................................ 5
2.1.6 Turn Dribble On......................................................................................................... 5
2.1.7 Close........................................................................................................................... 5
2.1.8 Save (Ctrl+S).............................................................................................................. 6
2.1.9 Save As....................................................................................................................... 6
2.1.10 Save Binary............................................................................................................... 6
2.1.11 Revert........................................................................................................................ 6
2.1.12 Page Setup................................................................................................................ 6
2.1.13 Print... (Ctrl+P)......................................................................................................... 6
2.1.14 Exit............................................................................................................................ 6
2.2 The Edit Menu..................................................................................................................... 7
2.2.1 Undo (Ctrl+Z)............................................................................................................. 7
2.2.2 Cut (Ctrl+X)............................................................................................................... 7
2.2.3 Copy (Ctrl+C)............................................................................................................. 7
2.2.4 Paste (Ctrl+V)............................................................................................................. 7
2.2.5 Delete.......................................................................................................................... 8
2.2.6 Select All..................................................................................................................... 8
2.2.7 Balance (Ctrl+B)......................................................................................................... 8
2.2.8 Comment (Ctrl+;)........................................................................................................ 8
2.2.9 Uncomment (Ctrl+U).................................................................................................. 8
2.2.10 Set Font..................................................................................................................... 8
2.3 The Buffer Menu................................................................................................................. 9
2.3.1 Find (Ctrl+F)............................................................................................................ 10
2.3.2 Replace (Ctrl+H)....................................................................................................... 10
2.3.3 Load Selection (Ctrl+K)............................................................................................ 11
2.3.4 Batch Selection (Ctrl+M).......................................................................................... 11
2.3.5 Load Buffer............................................................................................................... 11
2.4 The Execution Menu.......................................................................................................... 12
2.4.1 Reset (Ctrl+E)........................................................................................................... 12
2.4.2 Run (Ctrl+R)............................................................................................................. 12
2.4.3 Step (Ctrl+T)............................................................................................................. 12
2.4.4 Watch... (Ctrl+W)..................................................................................................... 13
2.4.5 Options..................................................................................................................... 14
2.4.6 Preferences................................................................................................................ 15
2.4.7 Clear CLIPS.............................................................................................................. 16
2.5 The Browse Menu............................................................................................................. 16
2.5.1 The Module Menu.................................................................................................... 17
2.5.2 Defrule Manager....................................................................................................... 17
2.5.3 Deffacts Manager...................................................................................................... 19
2.5.4 Deftemplate Manager................................................................................................ 19
2.5.5 Deffunction Manager................................................................................................ 20
2.5.6 Defglobals Manager.................................................................................................. 21
2.5.7 Defgeneric Manager.................................................................................................. 22
2.5.8 Defclass Manager..................................................................................................... 24
2.5.9 Definstances Manager............................................................................................... 27
2.5.10 Agenda Manager..................................................................................................... 27
2.6 The Window Menu............................................................................................................ 29
2.6.1 Cascade..................................................................................................................... 29
2.6.2 Tile Horizontally....................................................................................................... 29
2.6.3 Tile Vertically............................................................................................................ 29
2.6.4 Close All................................................................................................................... 29
2.6.5 Show Status Windows.............................................................................................. 30
2.6.6 Hide Status Windows............................................................................................... 30
2.6.7 Tile Dialog & Status Windows................................................................................. 30
2.6.8 Clear Dialog Window............................................................................................... 30
2.6.9 Facts Window........................................................................................................... 30
2.6.10 Agenda Window..................................................................................................... 30
2.6.11 Instances Window................................................................................................... 30
2.6.12 Globals Window..................................................................................................... 31
2.6.13 Focus Window........................................................................................................ 31
2.6.14 Dialog Window....................................................................................................... 31
2.6.15 Edit Windows......................................................................................................... 31
2.7 The Help Menu.................................................................................................................. 31
2.7.1 About CLIPS............................................................................................................ 31
2.7.2 CLIPS Help.............................................................................................................. 32
2.7.3 Complete... (Ctrl+J).................................................................................................. 32
2.8 Creating the Windows 2000/XP Executables..................................................................... 33
2.8.1 Building the CLIPS Interface Executable Using Microsoft
Visual C++ .NET 2003 33
2.8.2 Building the CLIPS Console Executable Using Microsoft
Visual C++ .NET 2003. 34
2.8.3 Building the CLIPS Interface Executable Using Borland
C++ 5.0........................... 34
2.8.4 Building the CLIPS Interface Executable Using Metrowerks
CodeWarrior 9.4....... 35
2.8.5 Building the CLIPS Console Executable Using Metrowerks
CodeWarrior 9.4........ 36
Section 3 - CLIPS Macintosh Interface..................................................................................... 37
3.1 The File Menu.................................................................................................................... 38
3.1.1 New (
N)................................................................................................................ 39
3.1.2 Open... (
O)............................................................................................................ 39
3.1.3 Load... (
L).............................................................................................................. 39
3.1.4 Load Batch................................................................................................................ 39
3.1.5 Load Binary.............................................................................................................. 39
3.1.6 Turn Dribble On....................................................................................................... 39
3.1.7 Close (
W).............................................................................................................. 40
3.1.8 Save (
S)................................................................................................................. 40
3.1.9 Save As..................................................................................................................... 40
3.1.10 Save Binary............................................................................................................. 40
3.1.11 Revert...................................................................................................................... 41
3.1.12 Page Setup.............................................................................................................. 41
3.1.13 Print........................................................................................................................ 41
3.2 The Edit Menu................................................................................................................... 42
3.2.1 Undo (
Z)................................................................................................................ 42
3.2.2 Cut (
X).................................................................................................................. 42
3.2.3 Copy (
C)................................................................................................................ 43
3.2.4 Paste (
V)................................................................................................................ 43
3.2.5 Clear.......................................................................................................................... 43
3.2.6 Select All (
A)......................................................................................................... 43
3.2.7 Complete... (
J)....................................................................................................... 43
3.2.8 Balance (
B)............................................................................................................ 44
3.2.9 Comment (
;)........................................................................................................... 44
3.2.10 Uncomment (
U)................................................................................................... 45
3.2.11 Set Font................................................................................................................... 45
3.2.12 Clear Window......................................................................................................... 45
3.2.13 Preferences.............................................................................................................. 46
3.3 The Buffer Menu............................................................................................................... 47
3.3.1 Find... (
F).............................................................................................................. 47
3.3.2 Find Again (
G)...................................................................................................... 48
3.3.3 Find Selection (
H)................................................................................................. 48
3.3.4 Enter Find String (
E)............................................................................................. 49
3.3.5 Replace (
=)............................................................................................................ 49
3.3.6 Replace and Find Again (
T)................................................................................... 49
3.3.7 Replace All................................................................................................................ 49
3.3.8 Load Selection (
K)................................................................................................. 49
3.3.9 Batch Selection (
M)............................................................................................... 49
3.3.10 Load Buffer............................................................................................................. 50
3.4 The Commands Menu........................................................................................................ 50
3.4.1 Watch........................................................................................................................ 50
3.4.2 Options..................................................................................................................... 51
3.4.3 Set Commands.......................................................................................................... 52
3.5 The Browse Menu............................................................................................................. 54
3.5.1 The Module Menu.................................................................................................... 54
3.5.2 Defrule Manager....................................................................................................... 55
3.5.3 Deffacts Manager...................................................................................................... 56
3.5.4 Deftemplate Manager................................................................................................ 57
3.5.5 Deffunction Manager................................................................................................ 58
3.5.6 Defglobal Manager................................................................................................... 59
3.5.7 Defgeneric Manager.................................................................................................. 60
3.5.8 Defclass Manager..................................................................................................... 61
3.5.9 Definstances Manager............................................................................................... 63
3.5.10 Agenda Manager..................................................................................................... 64
3.6 The Window Menu............................................................................................................ 66
3.6.1 Dialog Window......................................................................................................... 66
3.6.2 Facts Window........................................................................................................... 66
3.6.3 Agenda Window....................................................................................................... 66
3.6.4 Instances Window..................................................................................................... 67
3.6.5 Globals Window..............................................................................