._a = 1
>>._b = 22
>>._c = 333
>> end with
>>
>> write #hfile, arec as recstruc
>>
>> 'if you position the hfile pointer back to zero, you can...
>> read #hfile, arec as recstruc
>>
>> close #hfile
>>
>> end
>>
Hi tony I think i found a small bug in your code when reading mp3 files
with no version 2 tag
this function gets a end of stream error
Public Function ReadBytes(Count As Integer) As Byte[]
Dim res As New Byte[Count]
res.Read($Stream)
Return res
End
In the StreamReader Class
don't know
Audio or development
On 2017-07-20 02:40 PM, Hans Lehmann wrote:
Am 20.07.2017 um 20:27 schrieb Tony Morehen:
I've uploaded the class with a short command line demo to the
software farm.
Hello Tony,
under which heading can I find the class in the software farm?
Honsek
Am 20.07.2017 um 20:27 schrieb Tony Morehen:
I've uploaded the class with a short command line demo to the software
farm.
Hello Tony,
under which heading can I find the class in the software farm?
Honsek
--
Check out
iginal Message ---
From: Shane
To: gambas-user@lists.sourceforge.net
Sent: Tue, 18 Jul 2017 10:50:43 +1000
Subject: Re: [Gambas-user] reading files
i don't know what i am doing wrong
Public Struct ID3v1_TAG '(128 bytes)
Tag[3] As String 'always TAG
;>>>>
>>>>>>>> as far as i see it he is saying don't use binary file for fixed
>>>>>>>> length
>>>>>>>> strings
>>>>>>>>
>>>>>>>> but as this is an mp3 file tag witch i hav
p://openwebmail.org)
-- Original Message ---
From: Shane
To: gambas-user@lists.sourceforge.net
Sent: Tue, 18 Jul 2017 10:50:43 +1000
Subject: Re: [Gambas-user] reading files
i don't know what i am doing wrong
Public Struct ID3v1_TAG '(128 bytes)
Tag[3] As String
e
To: gambas-user@lists.sourceforge.net
Sent: Tue, 18 Jul 2017 10:50:43 +1000
Subject: Re: [Gambas-user] reading files
i don't know what i am doing wrong
Public Struct ID3v1_TAG '(128 bytes)
Tag[3] As String 'always TAG
Title[30] As String
://gambas.8142.n7.nabble.com/Random-access-files-with-fi
>>>>>> xed-length-string-td50880.html
>>>>>> [1] http://gambas.8142.n7.nabble.com/vb-code-td59764.html
>>>>>>
>>>>>> 2017-07-18 9:04 GMT+02:00 Shane :
>>>>>>
bmail.org)
-- Original Message ---
From: Shane
To: gambas-user@lists.sourceforge.net
Sent: Tue, 18 Jul 2017 10:50:43 +1000
Subject: Re: [Gambas-user] reading files
i don't know what i am doing wrong
Public Struct ID3v1_TAG '(128 bytes)
Tag[3] As String
it be_
>>>>> _
>>>>>
>>>>> IDtag = read #hfile as ID3v1_TAG ?
>>>>>
>>>>> with doesn't work by the way
>>>>>
>>>>>
>>>>>
>>>>> On 18/07/17 12
-- Original Message ---
From: Shane
To: gambas-user@lists.sourceforge.net
Sent: Tue, 18 Jul 2017 10:50:43 +1000
Subject: Re: [Gambas-user] reading files
i don't know what i am doing wrong
Public Struct ID3v1_TAG '(128 bytes)
Tag[3] As String
;>>>
>>>>
>>>>
>>>> On 18/07/17 12:44, nand...@nothingsimple.com wrote:
>>>>
>>>> I think
>>>>> Read #hfile, IDtag, ID3v1_TAG
>>>>> should be
>>>>> Read #hfi
hfile pointer back to zero, you can...
read #hfile, arec as recstruc
close #hfile
end
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: T Lee Davidson
To: gambas-user@lists.sourceforge.net
Sent: Sun, 16 Jul 2017 12:42:35 -0400
Subject: Re: [Gambas-
t; I think
>>>> Read #hfile, IDtag, ID3v1_TAG
>>>> should be
>>>> Read #hfile, IDtag as ID3v1_TAG
>>>>
>>>>
>>>> --
>>>> Open WebMail Project (http://openwebmail.org)
>>>>
d #hfile, IDtag, ID3v1_TAG
should be
Read #hfile, IDtag as ID3v1_TAG
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: Shane
To: gambas-user@lists.sourceforge.net
Sent: Tue, 18 Jul 2017 10:50:43 +1000
Subject: Re: [Gambas-user] reading files
i do
rg)
>>
>>
>> -- Original Message ---
>> From: Shane
>> To: gambas-user@lists.sourceforge.net
>> Sent: Tue, 18 Jul 2017 10:50:43 +1000
>> Subject: Re: [Gambas-user] reading files
>>
>> i don't know what i am doing wrong
>>
arec as recstruc
close #hfile
end
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: T Lee Davidson
To: gambas-user@lists.sourceforge.net
Sent: Sun, 16 Jul 2017 12:42:35 -0400
Subject: Re: [Gambas-user] reading files
On 07/16/2017 06:57
#hfile, arec as recstruc
> >
> > 'if you position the hfile pointer back to zero, you can...
> > read #hfile, arec as recstruc
> >
> > close #hfile
> >
> > end
> >
> >
> >
> >
> >
> >
> > --
> > Open WebMa
--
Open WebMail Project (http://openwebmail.org)
-- Original Message ---
From: T Lee Davidson
To: gambas-user@lists.sourceforge.net
Sent: Sun, 16 Jul 2017 12:42:35 -0400
Subject: Re: [Gambas-user] reading files
On 07/16/2017 06:57 AM, Shane wrote:
given this example
PRIVATE SU
ebMail Project (http://openwebmail.org)
-- Original Message ---
From: T Lee Davidson
To: gambas-user@lists.sourceforge.net
Sent: Sun, 16 Jul 2017 12:42:35 -0400
Subject: Re: [Gambas-user] reading files
> On 07/16/2017 06:57 AM, Shane wrote:
> > given this example
> >
On 07/16/2017 06:57 AM, Shane wrote:
given this example
PRIVATE SUB BinaryRead(FilePath AS String)
DIM binaryFile AS File
DIM i AS Integer
DIM b AS Byte
DIM s AS Short
DIM s1 AS String
DIM s2 AS String
' Read binary file
binaryFile = OPEN FilePath FOR READ
READ #binary
22 matches
Mail list logo