intro to types

This commit is contained in:
antranigv 2017-06-01 22:36:19 +04:00
parent c78b89c825
commit 52d6d3808b
2 changed files with 22 additions and 0 deletions

12
value-types/Values.Mod Normal file
View file

@ -0,0 +1,12 @@
MODULE values;
IMPORT Out;
BEGIN
Out.String("Oberon has types, for example, I am a string type (ARRAY OF CHAR);"); Out.Ln;
Out.String("There are also other types, e.g. INTEGERs and BOOLEANs"); Out.Ln;
Out.Int(42, 0);
Out.Ln
END values.