Example with objects and methods

Here you see some objects with some properties and a method. The properties are all ascii-textstrings. If you use the button with the function 'test' the outcome of the rules were displayed.

Results:


sweaterD materiaal:
sweaterD kleur geel:
sweaterA kleur zwart:
sweaterB kleur rood:
gelijk aan veld2:
sweaterA kleur:

Comments:

If you click in the button you see the method 'test' is checking the internal rules about the sweaters and the properties.

Remarks:

The ...

Enschede, 5 januari 2001; updated: jan 28, 2003.