Oberon (programming language): Difference between revisions

Content deleted Content added
Removed superfluous semicolons (null statements). A semicolon in Oberon is used to separate statements not to terminate them.
Removed superfluous semicolons (null statements). A semicolon in Oberon is used to separate statements not to terminate them.
Line 146:
'''PROCEDURE''' Handle* (f : Figure; '''VAR''' msg : Message);
'''BEGIN'''
f.handle(f, msg);
'''END''' Handle;
'''PROCEDURE''' Init* (f : Figure; handle : Handler);
'''BEGIN'''
f.handle := handle;
'''END''' Init;
Line 192:
'''BEGIN'''
'''NEW'''(r);
Figures.Init(r, Handle);
'''END''' New;