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

Username:   Password: 
 RegisterRegister   
 Procedure/Process Info.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mike200015




PostPosted: Fri Apr 29, 2005 4:32 pm   Post subject: Procedure/Process Info.

I've seen programs that have procedures/ processes that have sumthing like this:
Turing:
procedure name ---(x, y, x2, y2: real)----
%....stuff
end name

I was wondering what the part i put "---" around does, and also, the variables used in that part aren't declared?? Confused
Sponsor
Sponsor
Sponsor
sponsor
Delos




PostPosted: Fri Apr 29, 2005 8:09 pm   Post subject: (No subject)

These are known as parameters (AKA arguments). They are you friends.

This tutorial will explain.
mike200015




PostPosted: Fri Apr 29, 2005 9:33 pm   Post subject: (No subject)

oo nice... thanx Smile
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: