RosettaCodeData/Task/Copy-a-string/SenseTalk/copy-a-string.sensetalk
2023-07-01 13:44:08 -04:00

17 lines
407 B
Text

(* 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