I have been having some trouble geeting readfile and write file to work
[code]
Function deposit()
String$=""
howmuch#=Input("How much would you like to deposit?")
Print "Make sure a valid flash drive is pluged in!"
Print "Press any key"
Print " "
WaitKey()
file$=ReadFile("f:\key.txt")
While Not Eof(file)
String$=String+ReadString$(file)
Wend
CloseFile(file)
Print contents
End Function
[code]
[code]
Function deposit()
String$=""
howmuch#=Input("How much would you like to deposit?")
Print "Make sure a valid flash drive is pluged in!"
Print "Press any key"
Print " "
WaitKey()
file$=ReadFile("f:\key.txt")
While Not Eof(file)
String$=String+ReadString$(file)
Wend
CloseFile(file)
Print contents
End Function
[code]