RosettaCodeData/Task/Copy-a-string/SNOBOL4/copy-a-string.sno

9 lines
146 B
Plaintext

* copy a to b
b = a = "test"
output = a
output = b
* change the copy
b "t" = "T"
output = b
end