Code: Select all
if FileSize("screensettings.txt") = -1
width=800
height=600
else
ReadFile(0, "screensettings.txt")
FileSeek(1)
width=ReadWord()
FileSeek(2)
height=ReadWord()
Endif
Code: Select all
800
600
thanks for any help....
Code: Select all
if FileSize("screensettings.txt") = -1
width=800
height=600
else
ReadFile(0, "screensettings.txt")
FileSeek(1)
width=ReadWord()
FileSeek(2)
height=ReadWord()
Endif
Code: Select all
800
600