Category talk:Wren-dynamic: Difference between revisions
Content added Content deleted
m (Fixed syntax highlighting.) |
m (Added quotes to 'lang' attribute.) |
||
Line 13: | Line 13: | ||
To create for example a Point tuple, one could proceed as follows: |
To create for example a Point tuple, one could proceed as follows: |
||
<syntaxhighlight lang=ecmascript>import "/dynamic" for Tuple |
<syntaxhighlight lang="ecmascript">import "/dynamic" for Tuple |
||
var Point = Tuple.create("Point", ["x", "y"]) |
var Point = Tuple.create("Point", ["x", "y"]) |
||
Line 22: | Line 22: | ||
===Source code=== |
===Source code=== |
||
<syntaxhighlight lang=ecmascript>/* Module "dynamic.wren" */ |
<syntaxhighlight lang="ecmascript">/* Module "dynamic.wren" */ |
||
import "meta" for Meta |
import "meta" for Meta |