----------------------------------- Touya-kun Thu Mar 11, 2004 8:35 pm Importing units such as DanSprites ----------------------------------- I've read over the DanSprites guide, and other threads, and F10 looking for an answer to this question, but I can't seem to find it. It says on DanSprites: You most import "DanSprite.tu" to use the DanSprite commands All subprograms in the DanSprite unit are exported qualified (and thus must be prefaced with "DanSprite."). But how is this done? An F10 search turned up something remotely promising, but it was so complex, that I came out of it more confused than in. My question, simply put, is how do I "import" DanSprites so that it is usable? ^__^: Thanks! And I apologize in advance if my search for similar threads was unsuccesful and there actually is one. ----------------------------------- Paul Thu Mar 11, 2004 8:36 pm ----------------------------------- I think you just put the dansprite.tu in the same folder that your program is, and on the top of your program put import "DanSprite.tu" ----------------------------------- Dan Thu Mar 11, 2004 9:06 pm ----------------------------------- you have to put: import "DanSprite.tu" at the top of your turing code and have the DanSprite.tu file in the same dir as the turing code. you could also put the DanSprite.tu file any where on your comp and put the full dir in the import line. you can get the file from: http://www.compsci.ca/mx/index.php?page=58 or the dTeam dl page. ----------------------------------- Touya-kun Thu Mar 11, 2004 9:58 pm ----------------------------------- Yup, I had the file. =D Thank you very much for the prompt and speedy solution! This is probably no help to either of you, but +2 bits to each! :D I only had 5, so this is my limit ;) ----------------------------------- Paul Thu Mar 11, 2004 10:06 pm ----------------------------------- Haha, glad we could help. :? :D eh? Dan has 2002? I thought he could only have 2000 haha oh yea, for your generosity, + Some bits to you ----------------------------------- Dan Thu Mar 11, 2004 10:07 pm ----------------------------------- LOL, you dont have to give me bits, my bit number stays at 2000 b/c i am an admin. but i hope you like the sprites, tell us if you find any bugs with them so we can try to make them better. ----------------------------------- Bill Thu Mar 18, 2004 2:53 pm ----------------------------------- Good Work! Yah I was trying to use the Turing Reference on the program and i was left pretty confused like Touya-kun. So yah thanks for the great explainations.