Re: [Gambas-user] Gambas-user Digest, Vol 128, Issue 13
> Your mail is seen as spam, raise it with this answer. > "Test" what kind of file it is? Just a test file and I 'echo "stuff" > test' or 'echo "Other stuff" >> test' from another shell. On 01/10/2017 02:46 PM, gambas-user-requ...@lists.sourceforge.net wrote: > Hello Jeff, > Your mail is seen as spam, raise it with this answer. > "Test" what kind of file it is? > > Regards > Gianluigi > > 2017-01-09 14:35 GMT+01:00 Jeff Zacher : > >> I am using Gambas 3.9.1 >> >> If I open a file for watch: >> >> hFile = Open "test" For Read Write Watch >> >> The _Read() event gets the first byte written to the file just fine. But >> after, no changes to the file fire the read event. So as a workaround, >> just close the file and reopen? On second read the _Read() event in >> fired immediately and continues to fire past the eof until the file is >> again closed. >> >> Code to reproduce. Form with two buttons: >> >> >> Gambas class file >> >> Private hFile As File >> >> Public Sub File_Read() >> >> Dim iByte As Byte >> If Not Eof(hfile) Then >> Read #hFile, iByte >> Print "Got one byte: "; iByte >> Else >> Print Time() >> End If >> End >> >> Public Sub Button1_Click() >> >>Close hFile >> >> End >> >> Public Sub Button2_Click() >> >> hFile = Open "test" For Read Watch >> >> End >> >> >> -- >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Key.Text Bug
Key.Text doesn't return anything in the following project [System] Gambas=3.9.90 OperatingSystem=Linux Kernel=4.4.0-45-generic Architecture=x86_64 Distribution=Linux Mint 17.2 Rafaela Desktop=MATE Theme=Gtk Language=en_AU.UTF-8 Memory=3805M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oOwJAzQAYp,guid=a05b40a8accbbcef36b0c1e55876e68d DEFAULTS_PATH=/usr/share/gconf/mate.default.path DESKTOP_SESSION=mate DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=mate GDM_XSERVER_LOCATION=local GNOME_KEYRING_CONTROL=/run/user/1000/keyring-Pj6e7D GNOME_KEYRING_PID=1954 GPG_AGENT_INFO=/run/user/1000/keyring-Pj6e7D/gpg:0:1 HOME=/home/ KICAD_PATH=/usr/share/kicad KIGITHUB=https://github.com/KiCad LANG=en_AU.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path MATE_DESKTOP_SESSION_ID=this-is-deprecated MDMSESSION=mate MDM_LANG=en_AU.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/ SESSION_MANAGER=local/:@/tmp/.ICE-unix/1708,unix/:/tmp/.ICE-unix/1708 SHELL=/bin/bash SSH_AGENT_PID=1872 SSH_AUTH_SOCK=/run/user/1000/keyring-Pj6e7D/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg XDG_CURRENT_DESKTOP=MATE XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1484187274.551916-539332171 XDG_SESSION_DESKTOP=mate XDG_SESSION_ID=c1 XDG_VTNR=8 SdlKey-0.0.1.tar.gz Description: application/gzip -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user