Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Show-ASCII-table/Visual-Basic-.NET/show-ascii-table.vb
Normal file
14
Task/Show-ASCII-table/Visual-Basic-.NET/show-ascii-table.vb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Imports System.Console
|
||||
Imports System.Linq.Enumerable
|
||||
|
||||
Module Program
|
||||
Sub Main()
|
||||
Dim Text = Function(index As Integer) If(index = 32, "Sp", If(index = 127, "Del", ChrW(index) & ""))
|
||||
|
||||
Dim start = 32
|
||||
Do
|
||||
WriteLine(String.Concat(Range(0, 6).Select(Function(i) $"{start + 16 * i, -3} : {Text(start + 16 * i), -6}")))
|
||||
start += 1
|
||||
Loop While start + 16 * 5 < 128
|
||||
End Sub
|
||||
End Module
|
||||
Loading…
Add table
Add a link
Reference in a new issue