home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
sourcecode
/
various
/
kopieren.amos
/
kopieren.amosSourceCode
Wrap
AMOS Source Code
|
1991-09-28
|
403b
|
17 lines
' Procedure for loading and saving files.
' DAUG #002
' Rubric Tips&Tricks
' Article Copies
'
'
Procedure FILE_READ[SOURCE$,BANK]
Open In 1,"SYS:"+SOURCE$
L=Lof(1)
Close
Reserve As Work BANK,L
Bload DISC$+SOURCE$,Start(BANK)
End Proc
Procedure FILE_WRITE[SOURCE$,BANK]
Bsave "DF0:"+SOURCE$,Start(BANK) To Start(BANK)+Length(BANK)
Erase BANK
End Proc