[Gambas-user] TERMINAL Application + Serial Port
Daniel
daniel.campos at ...338...
Wed Aug 4 17:22:29 CEST 2004
El mié, 04-08-2004 a las 09:12, Budi Arief Gusandi escribió:
> Hi...
>
> I'm going to create Application for reading and writing to serial PORT run
> on console only (Terminal).
> 1. How can i activate COM Reading Event ? Is there any like WITH EVENT com
> declaration like in VB. fe. DIM WITHEVENT MyCOMM as New SerialPort.
Dim MyCOMM As SerialPort
MyCOMM = New SerialPort As "MyCOMM"
...
Public Sub MyCOMM_Read()
...
END
>
> 2. How to make the application not quit after executing all the code in
> main module in console app. ?
You have to create an infinite loop, like all common console
applications that doesn't finish...
>
> Thanks
>
> Budi
More information about the User
mailing list