Copy a string: Difference between revisions

Add SenseTalk implementation
(Add SenseTalk implementation)
Line 2,004:
 
dest := "Hello";</lang>
 
=={{header|SenseTalk}}==
<lang sensetalk>(* 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
</lang>
{{out}}
<pre>
myWord: ingloriously
yourWord: glorious
myRef: ingloriously
another: ingloriously
</pre>
 
=={{header|Shiny}}==