Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 i dont get what the problem is
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chipmiester




PostPosted: Wed Dec 21, 2005 9:34 pm   Post subject: i dont get what the problem is

ok for my final ISU i am working with a partner and im doing information on different operating systems. well, i decided, hell why not simulate the boot screens in turing? good idea. i actually got it working, but the problem i encountered was the following:

cls
setscreen ("graphics:800;600")
var mypic, mypic1 : int
mypic := Pic.FileNew ("winXP\\XPpro_nobar.bmp")
mypic1 := Pic.FileNew ("winXP\\XPpro_loadingbar.bmp")
var counter : int := 0
Pic.Draw (mypic, 10, 10, picMerge)
for countoutside : 1 .. 5
for count : 1 .. 19
View.Set ("offscreenonly")
cls
Pic.Draw (mypic, 10, 10, picMerge)
Pic.Draw (mypic1, 273 + counter, 125, picMerge)
counter := counter + 5
View.Update
delay (30)
end for
counter := -5
end for


cls
include ("winXP\\information.t")

ERROR: ILLEGAL INCLUDE ITEM(the one at the bottom for information.t)

the file is saved in a folder called final_programming_assignment, and the information.t is in a sub folder( final_programming_assignent\winXP\information.t)

why is it not letting me use the include statement here?

any help would be appreciated as we need to work as fast as possible, and i wanna get working on this asap. so if anyone knows whats going on, please let me know. in the mean time im going to try to play with it a while Wink
Sponsor
Sponsor
Sponsor
sponsor
fatoman




PostPosted: Wed Dec 21, 2005 9:39 pm   Post subject: Brackets

Try removing the Brackets Chipmeister
chipmiester




PostPosted: Wed Dec 21, 2005 9:40 pm   Post subject: (No subject)

omg i cant believe i did that...thats twice tonight ive made the same mistake WOW
Dk-ChiLi




PostPosted: Thu Dec 22, 2005 7:36 pm   Post subject: (No subject)

[mod:650e2820c4="Cervantes"]Please conduct personal conversations through the PM system, or through face-to-face interaction. And for the sake of all those who read what you type, please type understandably.[/mod:650e2820c4]
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: