[Gambas-user] File_Read() doesn't work

vuott at tutanota.com vuott at tutanota.com
Fri Jul 30 00:50:53 CEST 2021


Hi,
for example with this simple code (by using an external midi-keyboard connected to PC via USB):

Private mid As File

Public Sub Main()

  mid = Open "/dev/snd/midiC2D0" For Read Watch

End

Public Sub File_Read()

  Dim datum As Byte

  Read @mid, datum

  Print datum

End



30 lug 2021, 00:38 da g4mba5 at gmail.com:

> Le 30/07/2021 à 00:25, vuott--- via User a écrit :
>
>> Hello,
>> it seems to me that the procedure:
>>
>>      file_variable = Open "......." For Read Watch
>> .....
>> End
>>
>> Public Sub File_Read()
>> ......
>> ......
>>
>> no longer works.
>> (maybe from  Commit cba7b188 ? Or 1943dbfc ? )
>>
>
> Can you send a full project that reproduces the bug?
>
> -- 
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210730/e160736f/attachment.htm>


More information about the User mailing list