ReadLine???

Blitz3D Forums/Blitz3D Beginners Area/ReadLine???

Hello!
I've a Problem with ReadLine!

here ist my text file:

d-BATTLE
640
480
32
1

here ist the code:

path$ = CommandLine$()+"\"
gfile = ReadFile(path$+"DATA\main.cfg")

AppTitle ReadLine$(gfile)
Graphics3D Int(ReadLine(gfile)), Int(ReadLine(gfile)), Int(ReadLine(gfile)), Int(ReadLine(gfile))
WaitKey

I get the error: Illegal Graphics3D Mode

Can you help me?