Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,6 @@
a = .array~new -- create a zero element array
b = .array~new(10) -- create an array with initial size of 10
c = .array~of(1, 2, 3) -- create a 3 element array holding objects 1, 2, and 3
a[3] = "Fred" -- assign an item
b[2] = a[3] -- retrieve an item from the array
c~append(4) -- adds to end. c[4] == 4 now

View file

@ -0,0 +1,5 @@
XXX.='*'
Say 'xxx.1='xxx.1 -- shows xxx.1=*
u=17
xxx.u='Joe'
Say 'xxx.u='xxx.17 -- shows xxx.u=Joe

View file

@ -0,0 +1,5 @@
u=17
v='John Doe'
XXX.u.v...='some value'
z='17.John Doe...'
Say xxx.z shows 'some value'

View file

@ -0,0 +1,2 @@
person.first='Walter'
person.last='Pachl'