September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
10
Task/Character-codes/Gambas/character-codes.gambas
Normal file
10
Task/Character-codes/Gambas/character-codes.gambas
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
Public Sub Form_Open()
|
||||
Dim sChar As String
|
||||
|
||||
sChar = InputBox("Enter a character")
|
||||
Print "Character " & sChar & " = ASCII " & Str(Asc(sChar))
|
||||
|
||||
sChar = InputBox("Enter a ASCII code")
|
||||
Print "ASCII code " & sChar & " represents " & Chr(Val(sChar))
|
||||
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue