RosettaCodeData/Task/Copy-a-string/SenseTalk/copy-a-string.sensetalk

18 lines
407 B
Plaintext

(* In SenseTalk, assignments normally always make copies of values. *)
put "glorious" into myWord
put myWord into yourWord
(* Assignments can also be made by reference if desired. *)
put a reference to myWord into myRef
set another to refer to myRef
put "ly" after myWord
put "in" before another
put "myWord: " & myWord
put "yourWord: " & yourWord
put "myRef: " & myRef
put "another: " & another