if len(dir(app.path+"\lk.ps))=0 then
msgbox ...
end
end if
open app.path+"\lk.ps" for binary as #1
redim a(43) as byte
get #1,,a
close #1
if a(43)=48 then msgbox... : end
redim a(117) as byte
for i=1 to 118
a(i-1)=rnd*10+48
if i mod 10 =0 then a(i)=13:a(i+1)=10:i=i+2
next
a(43)=stop+48
open app.path+"\lk.ps" for binary as #1
put #1,,a
close #1