Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 2528

programming • Re: whats wrong with this simple code?

$
0
0
OPENIN opens a file for reading only. You need to use OPENUP if you want both to read from a file and write to it (and you'd better finish reading from it, or set its PTR#, before you write anything to it).

(In the first, very early version of BBC BASIC, there was no OPENUP; and OPENIN behaved the way OPENUP does on modern versions. If you load a modern program into an ancient machine, all OPENUPs in it will appear to have been changed to OPENIN.)

Statistics: Posted by julie_m — Wed Nov 13, 2024 11:39 am



Viewing all articles
Browse latest Browse all 2528

Trending Articles