getc() ?? bug

new topic     » topic index » view thread      » older message » newer message

How can the getc return #FFFFFFFF from the middle of file when
 it is only reading byte sizes.

 If I ignore this false EOF and looked at the data return after
 this point and it is ok.

 I then compared a dump ( using another program ) of the same file
 and the dump of the getc function. The code that is returning the #FFFFFFFF
 in Euphoria is a #1A ( 26 decimal ) as a keyboard scancode it represents
 a [ ( left bracket ) and as printable character it represents a
 right arrow. The byte sequence is:
       #1E #0E ( #1A -- bad byte ) #32 #78

 I think the bug is something to do with getc is confusing what type
 of device it is reading from.

 I am using euphoria dos ver2.2

 Bernie

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu