use prism-tomorrow.css
This commit is contained in:
16
docs/_style/prism-master/examples/prism-vbnet.html
Normal file
16
docs/_style/prism-master/examples/prism-vbnet.html
Normal file
@ -0,0 +1,16 @@
|
||||
<h2>Comments</h2>
|
||||
<pre><code>!foobar
|
||||
REM foobar
|
||||
'foobar</code></pre>
|
||||
|
||||
<h2>Example</h2>
|
||||
<pre><code>Public Function findValue(ByVal arr() As Double,
|
||||
ByVal searchValue As Double) As Double
|
||||
Dim i As Integer = 0
|
||||
While i <= UBound(arr) AndAlso arr(i) <> searchValue
|
||||
' If i is greater than UBound(arr), searchValue is not checked.
|
||||
i += 1
|
||||
End While
|
||||
If i > UBound(arr) Then i = -1
|
||||
Return i
|
||||
End Function</code></pre>
|
Reference in New Issue
Block a user