
-----------------------------------
Tallguy
Fri Apr 03, 2009 12:41 pm

Confused about modules assignment
-----------------------------------
Okay so i just got my new assignment and noone knows wat its about, lol

but it does mention compsci.ca in it .. .

any ideas?

Mod edit: Made title more appropriate.

-----------------------------------
apomb
Fri Apr 03, 2009 12:56 pm

RE:Say What???
-----------------------------------
oops - EDIT - mistook this thread for that other "say whaaaaatt???" one... sorry

-----------------------------------
blankout
Fri Apr 03, 2009 3:56 pm

Re: Say What???
-----------------------------------
wow ! that is complicated

-----------------------------------
saltpro15
Fri Apr 03, 2009 4:08 pm

RE:Say What???
-----------------------------------
a pdf, seriously? :|  why doesn't your teacher just use .txt like the rest of the sane world.  But yeah i have no idea what that's about, good luck

-----------------------------------
[Gandalf]
Fri Apr 03, 2009 5:48 pm

RE:Say What???
-----------------------------------
Seems reasonable enough.  Nice that they're referring to CompSci.ca directly. :)

Which part are you having trouble understanding?  It sounds like you should have gone over many of these ideas in class.

-----------------------------------
Tallguy
Sat Apr 04, 2009 9:20 am

RE:Confused about modules assignment
-----------------------------------
basically i have no idea what its asking me to do, i was hoping that someone could just break it down so i and others can understand it . . .

-----------------------------------
andrew.
Sat Apr 04, 2009 4:47 pm

RE:Confused about modules assignment
-----------------------------------
Basically, you have to choose two things from your sequential files assignment and turn them into modules. A module is the .tu files that are in the Turing folders. Just look at one to see how to make a module. Basically, there are procedures or functions in there that can be exported to the program calling the procedure or function from the module. So you would make your common tasks into procedures and put those inside your .tu file. Then you would import the .tu file in your main program (.t file). When you import you can use the procedures inside you .tu file. I hope that helps.
