Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Show-ASCII-table/VBA/show-ascii-table.vba
Normal file
14
Task/Show-ASCII-table/VBA/show-ascii-table.vba
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Public Sub ascii()
|
||||
Dim s As String, i As Integer, j As Integer
|
||||
For i = 0 To 15
|
||||
For j = 32 + i To 127 Step 16
|
||||
Select Case j
|
||||
Case 32: s = "Spc"
|
||||
Case 127: s = "Del"
|
||||
Case Else: s = Chr(j)
|
||||
End Select
|
||||
Debug.Print Tab(10 * (j - 32 - i) / 16); Spc(3 - Len(CStr(j))); j & ": " & s;
|
||||
Next j
|
||||
Debug.Print vbCrLf
|
||||
Next i
|
||||
End Sub
|
||||
Loading…
Add table
Add a link
Reference in a new issue