Category:LIL: Difference between revisions

Turned off HoPL reference.
(Turned off HoPL reference.)
 
(3 intermediate revisions by one other user not shown)
Line 1:
{{language|LIL
|gc=yesno
|parampass=value
|express=implicit
Line 7:
|strength=weak
|site=http://runtimelegend.com/tech/lil/
|hopl=no
}}
 
Line 256 ⟶ 257:
 
==Substitutions==
Based on Tcl sytlestyle command handling, LIL supports substitutions for strings and command evaluations.
 
The dollar-prefix variable substitutions normally seen in Tcl and other
Line 275 ⟶ 276:
func my-set {name} {
print "Requested the value of [set name]"
return [set [set name]]
}
 
Line 293 ⟶ 294:
bar
Requested the value of foo
bar
foo
Current dollar-prefix: 'set '
New dollar prefix: 'my-set '
Requested the value of foo
foobar</pre>
1,606

edits