mirror of
https://github.com/vishapoberon/oberonbyexample.git
synced 2026-04-05 21:02:25 +00:00
changed tabs with spaces
This commit is contained in:
parent
e49b38df73
commit
d110fb0ac8
12 changed files with 132 additions and 119 deletions
|
|
@ -4,28 +4,28 @@ IMPORT Out;
|
|||
|
||||
|
||||
VAR
|
||||
s : ARRAY 32 OF CHAR;
|
||||
i : REAL;
|
||||
n, m : INTEGER;
|
||||
s : ARRAY 32 OF CHAR;
|
||||
i : REAL;
|
||||
n, m : INTEGER;
|
||||
|
||||
|
||||
BEGIN
|
||||
s := "Initial";
|
||||
Out.String(s); Out.Ln;
|
||||
i := 3.14;
|
||||
n := 64;
|
||||
m := 42;
|
||||
Out.Int(m, 0); Out.Ln;
|
||||
Out.Int(n, 0); Out.Ln;
|
||||
Out.Real(i, 0); Out.Ln;
|
||||
s := "Initial";
|
||||
Out.String(s); Out.Ln;
|
||||
i := 3.14;
|
||||
n := 64;
|
||||
m := 42;
|
||||
Out.Int(m, 0); Out.Ln;
|
||||
Out.Int(n, 0); Out.Ln;
|
||||
Out.Real(i, 0); Out.Ln;
|
||||
|
||||
s := "assigning new values";
|
||||
Out.String(s); Out.Ln;
|
||||
i := 2.71;
|
||||
n := 128;
|
||||
m := 84;
|
||||
Out.Int(m, 0); Out.Ln;
|
||||
Out.Int(n, 0); Out.Ln;
|
||||
Out.Real(i, 0);
|
||||
Out.Ln
|
||||
s := "assigning new values";
|
||||
Out.String(s); Out.Ln;
|
||||
i := 2.71;
|
||||
n := 128;
|
||||
m := 84;
|
||||
Out.Int(m, 0); Out.Ln;
|
||||
Out.Int(n, 0); Out.Ln;
|
||||
Out.Real(i, 0);
|
||||
Out.Ln
|
||||
END variables.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue