String interpolation: Difference between revisions

Content deleted Content added
Add BOO sample
fix the BOO sample to be syntactically correct
Line 71:
<source lang="boo">
apples = 4
puts print("I have $(apples) apples")
// or
puts print("I have {0} apples" % apples)
</source>
 
 
The output will be: