Code: Select all
Do
For a As Integer = 1 To 93
If MultiKey(a) Then Print a;
Next
Loop
If I start the pc, he is in the good mode, but after a cople of hours, he goes in
the wrong mode. Programs who use MultiKey, are getting problems.
Code: Select all
Do
For a As Integer = 1 To 93
If MultiKey(a) Then Print a;
Next
Loop
Code: Select all
Dim As UInteger a
Dim As String s = ""
Width 120, 25 ' preset console size
For a = 32 To 127 ' first chr() = space (0 to 31 = unprintable)
s += Chr(a) ' put character by character into string
Next
Print " String created by numbers:"
Print : Print s : Print ' print the string chreated
Print " any key press --> EXIT! ";
Sleep
Code: Select all
Do
For a As Integer = 1 To 93
If Multikey(a) Then Cls: Locate 3,3,0: Print a;
Next
Sleep 1,1
Loop until multikey(1) 'esc
Code: Select all
Dim As String a
Do
a = InKey()
If Len(a) Then
Cls
Locate 3, 3, 0
Print a;
End If
Sleep 100, 1 ' waits for 0.1 Second and, at the same time, releases CPU
Loop until a = Chr(27) ' quit code = [ESC] pressed