Debian Codegraph @

examples/prism-t4-vb.html

raw symbols SCIP
1 <h2>Full example</h2>
2 <pre><code>&lt;#@ template hostspecific="false" language="VB" #&gt;
3 &lt;#@ assembly name="System.Core.dll" #&gt;
4 &lt;#@ output extension=".txt" #&gt;
5 &lt;#
6 Imports System.Collections.Generic
7
8 Dim numbers() As Integer = { 0, 1, 2, 3, 4, 5, 6, 8, 9, 10 }
9 ' not including 7
10
11 For Each i In numbers
12 #&gt;
13 The square of &lt;#= i #&gt; is &lt;#= i * i #&gt;
14 &lt;#
15 Next
16 #&gt;</code></pre>