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

Username:   Password: 
 RegisterRegister   
 Just for fun
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jshaw




PostPosted: Fri May 23, 2008 10:38 am   Post subject: Just for fun

I've been trying to make a turing program that can play madlibs. I've already created a madlib program, but what I want it to do is have a number of madlibs in one program. Here's an example of a madlib I've made.


madlib.t
 Description:
This is one of my madlibs

Download
 Filename:  madlib.t
 Filesize:  2.23 KB
 Downloaded:  112 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Jshaw




PostPosted: Tue May 27, 2008 10:36 am   Post subject: RE:Just for fun

*bump* I'd really like some help.
isaiahk9




PostPosted: Tue May 27, 2008 3:13 pm   Post subject: RE:Just for fun

1. Make all your madlibs in seperate turing files.
2. Make all your madlibs into procedures (F10 it or look at a tutorial if you don't know what it is).
3. Make a main.t Turing file.
4. Inlude all your files in main.t :
Include "madlibs1.t"
Include "madlibs2.t"
Include "madlibs3.t"
etc.

5. If the user selects madlibs 1, then (assuming the procedure you named madlibs # 1 is madlibs1) :
madlibs1
Jshaw




PostPosted: Tue May 27, 2008 6:36 pm   Post subject: RE:Just for fun

hey man, thanks alot! I've been waiting for a reply.
Jshaw




PostPosted: Tue May 27, 2008 7:08 pm   Post subject: Re: RE:Just for fun

isaiahk9 @ Tue May 27, 2008 3:13 pm wrote:
1. Make all your madlibs in seperate turing files.
2. Make all your madlibs into procedures (F10 it or look at a tutorial if you don't know what it is).
3. Make a main.t Turing file.
4. Inlude all your files in main.t :
Include "madlibs1.t"
Include "madlibs2.t"
Include "madlibs3.t"
etc.

5. If the user selects madlibs 1, then (assuming the procedure you named madlibs # 1 is madlibs1) :
madlibs1


this is what I tried, I renamed the file of the madlib



main.t
 Description:

Download
 Filename:  main.t
 Filesize:  21 Bytes
 Downloaded:  67 Time(s)

isaiahk9




PostPosted: Wed May 28, 2008 4:31 pm   Post subject: RE:Just for fun

This thread has been answered.
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: