|Home||Gadgetman||Forum||Book Reviews||Links||Contact me||X-UFO|
|Gadgets||Processors||Programming School||Old news|
IF runCMD$="C" createfile: ELSEIF runCMD$="O" openfile: ELSEIF runCMD$="R" runfile: ELSE ENDIF
All procedures uses the filename given by the system.
(Which we have conveniently stored in the runfile$ variable).
The Runfile: PROC must handle three different cases:
Valid filename in the .ini file.(Open)
The runfile$ variable points to an existing file. (Open)
Or if none of above: Create the file with name given in runfile$
BTW: As you can see I have an 'unnecessary' extra ELSE in that statement...
This is to handle: