text stringlengths 0 234 |
|---|
Function Definition: procedure Test is |
Function Body: function F return character is begin return f; end; |
begin |
put(f); |
Function Definition: procedure Test is |
Function Body: type R is record A: Integer; end record; |
X : access R; |
begin |
X := null; |
Function Definition: procedure Test is |
Function Body: X: Integer; |
procedure P is |
X: Character; |
begin |
Put(X); |
Function Definition: procedure Test is |
Function Body: type R; |
type P is access R; |
type R is record Foo: P; end record; |
begin |
New_Line; |
Function Definition: procedure Test is |
Function Body: procedure P(X: in out Integer) is begin X := 0; end; |
v: integer; |
begin |
P(V); |
Function Definition: procedure Test is |
Function Body: procedure R is begin R; end; |
begin |
R; |
Function Definition: procedure Test is |
Function Body: type R is record A: Integer; end record; |
type T is access R; |
procedure P(X: in T) is begin X.A := 0; end; |
v: T := new R; |
begin |
P(v); |
Function Definition: procedure Oups is |
Function Body: type R is record A: Integer; end record; |
V : access R := null; |
begin |
if V.A = 1 then New_Line; end if; |
Function Definition: procedure Oups is |
Function Body: V : Integer := 0; |
begin |
if 1 / V = 1 then New_Line; end if; |
Function Definition: procedure Test is begin |
Function Body: for i in 1 . . 10 loop p; end loop; |
Function Definition: procedure Test is begin |
Function Body: if 0=1 then Q(0); else Q(1); elsif 1=2 then Q(2); end if; |
Function Definition: procedure Test is begin |
Function Body: for i in 1 .. 10 loop p; end loop |
Function Definition: procedure Test is begin |
Function Body: for i in 1 .. 10 p; end loop; |
Function Definition: procedure Test is begin |
Function Body: for i in 1 .. 10 loop p; end; |
Function Definition: procedure Test is begin |
Function Body: if 0=1 then Q(0); else Q(1); else Q(2); end if; |
Function Definition: procedure Test is begin |
Function Body: if 0=1 then Q(0); elsif 1=2 then Q(1); end if; |
Function Definition: procedure Test is |
Function Body: begin |
for I in 1 .. 10 loop Put('A'); end loop; New_Line; |
for I in 10 .. 1 loop Put('B'); end loop; New_Line; |
for I in reverse 1 .. 10 loop Put('C'); end loop; New_Line; |
for I in reverse 10 .. 1 loop Put('D'); end loop; New_Line; |
Function Definition: procedure Record4 is |
Function Body: type R is record A, B: Character; end record; |
type S is record C: Character; D: R; E: Character; end record; |
V, W: R; |
X, Y: S; |
procedure PrintR(x: R) is |
begin |
Put('['); |
Put(x.A); |
Put(','); |
Put(x.B); |
Put(']'); |
Function Definition: procedure Test is |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.