Contents
Back
Forward

A3. Inform directives

Abbreviate <word-1> ... <word-n>
Array <new-name> <type> <initial values>
Attribute <new-name>
Class <new-name> <body of definition>
Constant <new-name> = <value>
Default <possibly-new-name>
End
Endif
Extend <grammar extension>
Global <new-name> = <value>
Ifdef <symbol-name>
Ifndef <symbol-name>
Ifnot
Iftrue <condition>
Iffalse <condition>
Import <list of imported goods>
Include <source code filename>
Link <module filename>
Lowstring <text>
Message <message-type> <diagnostic-message>
Object <header> <body of definition>
Property <new-name>
Release <number>
Replace <routine-name>
Serial "<serial number>"
Switches <list of switches>
Statusline score or time
System_file
Verb <verb-definition>

Nearby, much used in Inform 5 code, is still allowed but in modern code the notation Object -> is preferable. A few other directives, Dictionary, Fake_action, Ifv3, Ifv5, Stub, Trace and Version, are obsolete or for compiler maintenance.


Contents / Back / Forward
Chapter I / Chapter II / Chapter III / Chapter IV / Chapter V / Chapter VI / Appendix
Mechanically translated to HTML from third edition as revised 16 May 1997. Copyright © Graham Nelson 1993, 1994, 1995, 1996, 1997: all rights reserved.