Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
|||
Line 226:
Truly reflective language, worth mention! The original example:
<
foo: make object! [
hello: does [print "Hello"]
Line 236:
; with reflection
do get in foo to-word "hello"
</syntaxhighlight>
Fully featured example:
<
foo: func [/local name code start-mark end-mark] [
name: ask "What is your name?^/"
Line 255:
)
]
</syntaxhighlight>
Running the code:
<pre>
|