Jump to content

Category:Oberon-07

From Rosetta Code
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Language
Oberon-07
This programming language may be used to instruct a computer to perform a task.
Garbage collected: Yes
Parameter passing methods: By reference, By value
Type safety: Safe
Type strength: Strong
Type compatibility: Structural
Type expression: Explicit
Type checking: Static
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Oberon-07.

Oberon-07 is a revision of the Oberon language by Niklaus Wirth. Oberon-07 is based on Wirth's original Oberon language (not Oberon-2), Wirth lists the changes here, which are largely aimed at simplification - in his defining document, Wirth quotes Einstein: "Make it as simple as possible, but not simpler".

Oberon-07 contains a WHILE loop that allows multiple conditions and statements - similar to the loop in Edsgar Dijkstra's Guarded Command Language, though with different syntax and without non-determinism. See Loops/N_plus_one_half#Oberon-07 for an example.

In addition to the samples below, many of the Oberon-2 samples should work with Oberon-07, particularly if the Oberon-07 compiler you are using allows LONGINT as a synonym for INTEGER (LONGINT, SHORTINT, LONGREAL and SHORTREAL were dropped from Oberon-07).

Cookies help us deliver our services. By using our services, you agree to our use of cookies.