Computer Science Canada

Help, Due tomorrow, Maxed out pictures (1000). How does one import a second program into the main program

Author:  Atherial [ Thu Jan 21, 2016 7:44 pm ]
Post subject:  Help, Due tomorrow, Maxed out pictures (1000). How does one import a second program into the main program

Hiya

I just want it to run my second program first in my main program, How would I do such without copy pasting it in (for simplicity, and lack of variables.)

Thanks, Due tomorrow, Need to finish it, Thanksssssssssss
-Mackenzie

Author:  Draw.MapleLeaf [ Fri Jan 22, 2016 1:03 am ]
Post subject:  Re: Help, Due tomorrow, Maxed out pictures (1000). How does one import a second program into the main program

include("something.t")

Author:  Atherial [ Fri Jan 22, 2016 7:30 am ]
Post subject:  Re: Help, Due tomorrow, Maxed out pictures (1000). How does one import a second program into the main program

Perrrfect, thank you! Smile
Okay so it still thinks I have maxed out pictures, is there a way to clear turings memory within the program?

Thankss

Author:  Insectoid [ Fri Jan 22, 2016 12:59 pm ]
Post subject:  RE:Help, Due tomorrow, Maxed out pictures (1000). How does one import a second program into the main program

include doesn't magically give you more space for pictures. It literally copy & pastes all the files into one big file, which then gets compiled into a single program. You need to either reduce the number of pictures you use, or use Pic.Free to delete any pictures you don't need right now.


: