Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Arrays/PostScript/arrays.ps
Normal file
16
Task/Arrays/PostScript/arrays.ps
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
%Declaring array
|
||||
|
||||
/x [0 1] def
|
||||
|
||||
%Assigning value to an element, PostScript arrays are 0 based.
|
||||
|
||||
x 0 3 put
|
||||
|
||||
%Print array
|
||||
|
||||
x pstack
|
||||
[3 1]
|
||||
|
||||
%Get an element
|
||||
|
||||
x 1 get
|
||||
Loading…
Add table
Add a link
Reference in a new issue