Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extended KotD #8: _READFILE$
#5
Ah see, the old method would simply create a size 0 file and return empty, and afterwards you couldn't even check if the file maybe not exists, as it always does exist after the OPEN call.

Well, if you take it that way, then _READFILE does exist checks, although I wouldn't take a error messagebox as a desireable exist check result nevertheless.

So my advise remains the same, always use _FILEEXIST first, if you can't guarantee the file is always there.
Reply


Messages In This Thread
Extended KotD #8: _READFILE$ - by SMcNeill - 05-18-2024, 06:17 AM
RE: Extended Kotd #8: _ReadFile$ - by PhilOfPerth - 05-18-2024, 07:24 AM
RE: Extended Kotd #8: _ReadFile$ - by RhoSigma - 05-18-2024, 09:06 AM
RE: Extended Kotd #8: _ReadFile$ - by SMcNeill - 05-18-2024, 09:42 AM
RE: Extended Kotd #8: _ReadFile$ - by RhoSigma - 05-18-2024, 11:08 AM



Users browsing this thread: 1 Guest(s)