Multiplication tables: Difference between revisions
Content added Content deleted
PatGarrett (talk | contribs) (Add Visual Basic (VB6) section) |
PatGarrett (talk | contribs) |
||
Line 2,678: | Line 2,678: | ||
=={{header|Visual Basic}}== |
=={{header|Visual Basic}}== |
||
{{works with|Visual Basic|VB6 Standard}} |
{{works with|Visual Basic|VB6 Standard}} |
||
<lang vb> |
<lang vb>Sub Main() |
||
Sub Main() |
|||
Const nmax = 12, xx = 3 |
Const nmax = 12, xx = 3 |
||
Const x = xx + 1 |
Const x = xx + 1 |
||
Line 2,702: | Line 2,701: | ||
Debug.Print s |
Debug.Print s |
||
Next i |
Next i |
||
End Sub 'Main |
End Sub 'Main</lang> |
||
</lang> |
|||
{{Out}} |
{{Out}} |
||
<pre"> |
<pre"> |
||
Line 2,721: | Line 2,719: | ||
12 | 144 |
12 | 144 |
||
</pre> |
</pre> |
||
=={{header|XPL0}}== |
=={{header|XPL0}}== |