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

Username:   Password: 
 RegisterRegister   
 Error -> Pic was never allocated
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MyPistolsIn3D




PostPosted: Thu May 20, 2004 5:47 pm   Post subject: Error -> Pic was never allocated

Why am I getting this error? Whats it mean?
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Thu May 20, 2004 6:27 pm   Post subject: (No subject)

it means the value you are sending to the pic comand is ehtere not a pic or that pic was not loaded right.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Pickles




PostPosted: Thu May 20, 2004 6:43 pm   Post subject: ...

code:
loop
    cls
    frenchplaney -= 5
    missiley += 40
    Pic.Draw (sky, 0, 0, picMerge)
    Pic.Draw (frenchplane2, 100, frenchplaney, picMerge)
    Pic.Draw (missile, 100, missiley, picCopy) %% this line here
    View.Update
    exit when missiley + 50 >= frenchplaney
end loop


I think thats what you wanted, it looks like it hits him
beedub




PostPosted: Thu May 20, 2004 8:10 pm   Post subject: (No subject)

generally the problem is that the pictures arent in the same directory as ur program. Also, you need to make sure the picture is a .bmp and that u spelled the name of the file correctly.
Paul




PostPosted: Thu May 20, 2004 8:11 pm   Post subject: (No subject)

not so in 3.11, you could have that problem in 3.11 for no reason at all, and if u restart it, it usually works.
MyPistolsIn3D




PostPosted: Fri May 21, 2004 2:44 pm   Post subject: (No subject)

Ya thx guys, problem was i forgot a "y" on "missiley".
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  [ 6 Posts ]
Jump to:   


Style:  
Search: