トピック
Jaxon SuperJax

Read PRG file

Is there a way to read a PRG file, then print it onto the screen?
0そうだね
プレイ済み
返信[1]
親投稿
Jaxon SuperJax
I'd like to read the file one line at a time.
0そうだね
プレイ済み
返信[2]
親投稿
calc84 calc84maniac
If you have an empty program slot (for example slot 1), you can do LOAD "PRG1:FILE", and then the PRGEDIT and PRGGET$() functions to access one line at a time. Alternatively, you can LOAD("TXT:FILE") to get the entire program as a string, and use string manipulation functions to extract each line.
0そうだね
プレイ済み
返信[3]
親投稿
Jaxon SuperJax
@calc84 Thanks! That is exactly what I needed.
0そうだね
プレイ済み