all tasks

This commit is contained in:
Ingy döt Net 2013-04-11 01:07:29 -07:00
parent b83f433714
commit 68f8f3e56b
14735 changed files with 178959 additions and 0 deletions

View file

@ -0,0 +1,14 @@
MODULE Size;
IMPORT Out;
VAR s: LONGINT;
string: ARRAY 5 OF CHAR;
BEGIN
string := "Foo";
s := LEN(string);
Out.String("Size: ");
Out.LongInt(s,0);
Out.Ln;
END Size.

View file

@ -0,0 +1,14 @@
MODULE Length;
IMPORT Out, Strings;
VAR l: INTEGER;
string: ARRAY 5 OF CHAR;
BEGIN
string := "Foo";
l := Strings.Length(string);
Out.String("Length: ");
Out.Int(l,0);
Out.Ln;
END Length.