Resolved in MINERVA 2.0. See ReleaseNotes....
Move to
Next Prev
Up Top
See also
release200203
Byte input/output
Win95Parameters
IF Computer > MINERVA > Manual > Reference > Restrictions > Bugs > Byte input/output

Byte input/output

Resolved in MINERVA 2.0. See ReleaseNotes.

get_byte/1/2, put_byte/1/2, peek_byte/1/2 are not available.

As workaround open the stream as ascii stream and use put_char/1/1, put_byte/1/2, peek_byte/1/2, converting characters to codes.

Example:

my_put_byte(Stream,Code) :-
	char_code(Char,Code), put_char(Stream,Char).

use_binary_stream :- : open(BinaryFile,write,FakedBinaryStream,[encoding(ascii)]), : my_put_byte(FakedBinaryStream,99), : flush_output(FakedBinaryStream), close(FakedBinaryStream), :

read on...
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/Restrictions/Bugs/byte_io/home_en.html
published 2008/5/19 update 1999/4/26 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 info@ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS