Hi Charles,
I will see if I can improve on this.
That is not necessary!
Function Count() as long
Return number = Number +1
End Function
IndexBase 0
Include "window.h"
sys x, y, a, hdc, hWnd
sys number
hWnd= Window "Hallo",640,480,ws_overlapped
hdc = GetDC hWnd
Function Count() as long
Return number = Number +1
End Function
While WinExit=0
cls
count
SetFont 18,64,700,"courier"
Text "RETURN, A GOOD CHOICE",110,200,RGB 255,199,240
Text number,300,250,0xFFC8C8
DoEvents
WaitTime 10
Wend
WinEnd