Re: [cc65] Probleme mit File-IO ( die 2te )

Date view Thread view Subject view

From: udo klasmeier (uklasmeier_at_t-online.de)
Date: 2001-08-24 20:08:38


> BTW why are you checking rc<2 ? Every value except 0 is an error.
>

Hi Mark,

cbm_read returns the numbers of bytes read, not an errorcode only.

I am expecting to read an integer, so rc=2 is the only valid response.

The missing file close i detected also this afternoon.
But even with the correction the programm only works for the first storing
of adress.
for the next one i get very strange responses.

I updated the source on the given URL.

Thanks for helping.

Udo

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:41 CET