Because I got bored I made this converter programme.
To make this work though run the programme and when it starts quit and then look in "C:Mrnaughty's Converter Programme"Then add a .txt or .dba file in there then remember the name then play the programme again.
Complicated but I did get bored. Any improvements suggested would be nice.
Here is the code.
`start
make directory "c:Mrnaughty's Converter programme"
set dir "c:Mrnaughty's Converter programme"
start:
cls
print "Do you want to convert .dba into .txt or .txt to .dba ?"
input "Press 1 for .dba into .txt and 2 for .txt to .dba ",conv$
if conv$ = "1"
goto dbatxt
endif
if conv$ = "2"
goto txtdba
endif
dbatxt:
cls
print "You chose to turn dba into a txt file."
input "Enter your filename with the dba ending ",name$
input "Enter to what you want the file to be called - e.g - new.txt ",newname$
rename file name$,newname$
print "It has now converted this file. press any key to quit."
wait key
end
txtdba:
cls
print "You chose to turn txt into a dba file."
input "Enter your filename with the txt ending ",namee$
input "Enter to what you want the file to be called - e.g - new.dba ",newnamee$
rename file namee$,newnamee$
print "It has now converted this file. press any key to quit."
wait key
end
Working for ELB software on Realms of Tutopia!