Delegates: Difference between revisions

Content deleted Content added
m →‎{{header|Tcl}}: whitespace
Rdm (talk | contribs)
Line 430:
operation=:3 :'thing__delegate ::thing y'
thing=: 'default implementation'"_
setDelegate=:3 :'delegate=:y' NB. result is the reference to our new delegate
delegate=:<'delegator'
 
Line 438:
thing=: 'delegate implementation'"_
 
NB. set context forin interactivecase usethis script was used interactively, instead of thisbeing script:loaded
cocurrent 'base'</lang>