gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] IOChan.RawRead() fails to update file position


From: john o goyo
Subject: Re: [Gm2] IOChan.RawRead() fails to update file position
Date: Thu, 28 Apr 2011 21:14:31 -0400


On 27-Apr-11, at 12:05 PM, Gaius Mulley wrote:

SiTex Graphics <address@hidden> writes:

Hi Gaius,

It appears that IOChan.RawRead() does not update the current file
position.  Test code attached.  Compile with:

gm2 -o testpos -fiso -fmakeall testpos.mod

The test program reads 4 bytes from a test.txt file then reports the
current file position.

-Scott

Hi Scott,

just double checking that the answer should be '4'?  Out of interest
which version of gm2 are you using?  I get the following results from
the latest cvs:

address@hidden:~/GM2$ gm2 -g -fiso testpos.mod
./a.out
4

For what it is worth, I also see 4.

john




reply via email to

[Prev in Thread] Current Thread [Next in Thread]