RosettaCodeData/Task/Collections/Picat/collections-5.picat
2023-07-01 13:44:08 -04:00

4 lines
128 B
Text

go5 =>
S = new_struct(a_struct,5),
S[2] = 4, % place 4 at position 2
arg(3,S,"string"). % place "string" at position 3