mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 04:52:26 +00:00
Module renaming
This commit is contained in:
parent
67a280f5da
commit
9423fb1b37
18 changed files with 1629 additions and 0 deletions
15
vpkTest.Mod
Normal file
15
vpkTest.Mod
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
MODULE vpkTest;
|
||||
IMPORT Out;
|
||||
VAR
|
||||
string: POINTER TO ARRAY OF CHAR;
|
||||
BEGIN
|
||||
NEW(string, 42);
|
||||
string[1] := "a";
|
||||
Out.Char(string[1]);
|
||||
Out.Ln();
|
||||
Out.Int(ORD(string[1]), 10);
|
||||
Out.Ln();
|
||||
Out.Int(ORD(string[2]), 10);
|
||||
Out.Ln();
|
||||
COPY("Gago", string);
|
||||
END vpkTest.
|
||||
Loading…
Add table
Add a link
Reference in a new issue