[Gambas-user] gambas 0.60
Benoit Minisini
gambas at ...2...
Thu Jun 26 00:06:30 CEST 2003
Hi people,
gambas 0.60 is out. You can download it on the web site.
Here are the changes :
- The IDE component explorer has been replaced by an help browser based on
the Gambas Wiki made by Rob.
- The internal component management has been rewritten. Every component
information is stored into a text file named 'components' located
by default in /opt/gambas/lib. This text file contains component
names that can be translated.
- Logically, SuSE 8.2 users are not obliged to create a symbolic link
on libqt-mt.so.3 anymore. They just have to pass "--with-qt-libraries=
/usr/lib" to the ./configure script. Tell me if it works.
- Files can be watched like Processes. Be careful, this implies a p-code
incompatibility : older projects that use the OPEN keyword must be
recompiled.
Here is an example of how to watch a serial port :
'-------------------------
' Gambas module
PRIVATE hPort AS File
PUBLIC SUB Main()
OPEN "/dev/ttyS0" FOR READ WRITE WATCH AS #hPort
END
PUBLIC SUB File_Read()
DIM iByte AS Byte
PRINT "I can read at least one byte on the port"
READ #hPort, iByte
PRINT iByte
END
PUBLIC SUB File_Write()
PRINT "I can write on the port"
WRITE #hPort, 42
END
'-------------------------
Enjoy it.
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list