Just a bit bored and thought i might as well try and make a mini dll maker i call it a ndl maker/opener standing for `new dll`.
Anyway here's the code.
Maker
cls
print "This is a ndl maker a new dll maker for dbp"
print "Enter your dbp code for the ndl - 20 max - end to end"
print "only comands so far:"
print "cls - clears screen"
print "{ - starts printing everything inside it"
print "} - closes printing"
print "wait key - wait for a key"
wait key
cls
input "Enter drive: ",a$
set dir a$
input "Enter filename without .ndl at end: ",b$
delete file b$+".ndl"
open to write 1,b$+".ndl"
cls
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
input a$
if a$="end" then close file 1 : end
write string 1,a$
wait 1500
cls
print "Too many lines"
wait 1500
end
And the Opener
cls
print "This is the ndl opener"
input "Enter drive: ",a$
set dir a$
input "Enter filename without ending: ",a$
open to read 1,a$+".ndl"
cls
for a=1 to 20
read string 1,a$
if a$="cls" then cls
if a$="wait key" then wait key
if a$="{" then b$="1"
if a$="}" then b$="0"
if b$="1" and a$="{" or a$="}"
goto a
endif
if b$="1" then print a$
a:
next a
wait key
close file 1
end
Any feed back or little upgrades would be appreciated
thx
Nitrox
Nitrox is the new and improved me