Jump to content

Category talk:Wren-dynamic: Difference between revisions

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

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.