トピック
Scientist Speedy1101

Files and junk

How can I detect if a file is available and end a program if it's not? Wish I could use C++.
4そうだね
プレイ済み
返信[1]
親投稿
Oscar PwnageBlock
Easy! Just use CHKFILE("[FILETYPE:]PRGNAME"). It returns TRUE if the file exists, FALSE otherwise. Specifying the file type is optional, hence why it's in brackets. The file type can be either TXT or DAT. (DAT includes graphic files.)
2そうだね
プレイ済み
返信[2]
親投稿
Scientist Speedy1101
Thanks!
0そうだね
プレイ済み