X-Git-Url: http://nitlanguage.org diff --git a/examples/langannot.nit b/examples/langannot.nit index 7d471f6..cd294e1 100644 --- a/examples/langannot.nit +++ b/examples/langannot.nit @@ -35,3 +35,9 @@ example of the language annotation capacities """ + +var s = "example" + +print "This superstring {s} rocks" + +print "This superstring %1 rocks".format(s)