Class definitions


next up previous
Next: Arrays
Up: An overview of Web-O-Matic and WOM
Previous: The run-time library

Class definitions

It is possible to define new classes - in fact, the WOM compiler treats *.wom files as implicitly defining a subclass of the built-in class Page. This feature is still under development. It is intended for situations in which one wants to define a collection of data items, e.g. a complex number or a salary record, associating with this one or more ways of displaying it as HTML.

One can also define subclasses of built-in or user-defined classes, giving them new attributes or further constraining their behaviour.



Jocelyn Ireson-Paine
Sat Oct 12 23:35:52 BST 1996