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

Username:   Password: 
 RegisterRegister   
 How to import a turing file into your turing program?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
dolly109




PostPosted: Sat Jun 02, 2012 11:56 am   Post subject: How to import a turing file into your turing program?

What is it you are trying to achieve?
<Replace all the <> with your answers/code and remove the <>>


What is the problem you are having?
Hi so im trying to import a turing program into my original program. Im using procedures and it won't let me put procedures in a procedure so I was thinking importing my file with the procedures into my original program's procedure would fix that?


Describe what you have tried to solve this problem
I looked on a lot of forums to find out how to import turing files and none work :S i already put the turing file in the same folder as my program.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)


Turing:


<Add your code here>



Please specify what version of Turing you are using
4.11>
Sponsor
Sponsor
Sponsor
sponsor
Aange10




PostPosted: Sat Jun 02, 2012 12:58 pm   Post subject: RE:How to import a turing file into your turing program?

Quote:
Im using procedures and it won't let me put procedures in a procedure



Turing:

proc say_hi
put "Hi!"
end say_hi

proc say_bye
put "Bye!"
end say_bye

proc have_conversation
say_hi
say_bye
end have_conversation
Raknarg




PostPosted: Sat Jun 02, 2012 2:36 pm   Post subject: RE:How to import a turing file into your turing program?

For what reason would you need to make a procedure in another procedure?
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  [ 3 Posts ]
Jump to:   


Style:  
Search: