Skip to content

Commit

Permalink
READ$(FH) is faster than CHR$(READ(FH))
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Apr 19, 2023
1 parent 190a7ef commit d09b3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/programs/edit
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DEF FNload$(file$)
FH = OPENIN(file$)
V$ = ""
REPEAT
V$ = V$ + CHR$(READ(FH))
V$ = V$ + READ$(FH) + CHR$(10)
UNTIL EOF(FH) = 1
CLOSE FH
=V$

0 comments on commit d09b3c6

Please sign in to comment.