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

Username:   Password: 
 RegisterRegister   
 How to take information from procedures and put it in another procedure/ process
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tony




PostPosted: Wed Dec 16, 2009 5:45 pm   Post subject: Re: RE:How to take information from procedures and put it in another procedure/ process

mirhagk @ Wed Dec 16, 2009 4:53 pm wrote:

code:

var pic:array 1..5 of int
pic(1):=Pic.FileNew("my1pic")
pic(2):=Pic.FileNew("my2pic")
pic(3):=Pic.FileNew("my3pic")
pic(4):=Pic.FileNew("my4pic")
pic(5):=Pic.FileNew("my5pic")

it gets even better when you can use
code:

var pic:array 1..5 of int
for i:1..5
   pic(i) := Pic.FileNew("my" + intstr(i) + "pic")
end for
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
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 2 of 2  [ 16 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: