RosettaCodeData/Task/String-concatenation/Icon/string-concatenation.icon

6 lines
140 B
Plaintext

procedure main()
s1 := "hello"
write(s2 := s1 || " there.") # capture the reuslt for
write(s2) # ... the 2nd write
end