Data update

This commit is contained in:
Ingy döt Net 2024-07-13 15:19:22 -07:00
parent 29a5eea0d4
commit 5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions

View file

@ -1,7 +1,7 @@
var .abc = [1, 2, 3]
var .def = [5, 6, 7]
var abc = [1, 2, 3]
var def = [5, 6, 7]
.abc[3], .def[3] = .def[3], .abc[3]
abc[3], def[3] = def[3], abc[3]
writeln .abc
writeln .def
writeln abc
writeln def

View file

@ -0,0 +1,10 @@
procedure Swap<T> (var a,b: T) := (a,b) := (b,a);
begin
var (i,j) := (1,2);
Swap(i,j);
Println(i,j);
var (s1,s2) := ('PascalABC.NET','Hello');
Swap(s1,s2);
Println(s1,s2);
end.