
-----------------------------------
Jonny Tight Lips
Sat Oct 16, 2004 2:21 pm

problems having 2 import files
-----------------------------------
Ok in my program I have to import files. One is Dansprites and the other is GUI but I'm getting an error

import GUI
import "DanSprite.tu"

the error says "syntax error at import" and highlights the import right befor "DanSprite.tu"

Is it just not possible to have 2 import files or am I doing something wrong?

-----------------------------------
beard0
Sat Oct 16, 2004 3:46 pm


-----------------------------------
You can import two things, you're just using the wrong syntax.  Turing only allows one import statement at the begining of the program:
import GUI, "DanSprite.tu"
is the proper syntax!

Enjoy!

-----------------------------------
Jonny Tight Lips
Sat Oct 16, 2004 9:16 pm


-----------------------------------
Awwww thats the key. Stupid turing. Thanks for your help.
