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

Username:   Password: 
 RegisterRegister   
 Multidimensional Arrays in Turing?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Kuntzy




PostPosted: Thu Jan 01, 2004 1:19 pm   Post subject: Multidimensional Arrays in Turing?

Is there such a thing as a multidimentional array in turing? Or some way to create that effect using the elements provided?
Sponsor
Sponsor
Sponsor
sponsor
AsianSensation




PostPosted: Thu Jan 01, 2004 2:43 pm   Post subject: (No subject)

code:
var name : array 1 .. 100, 1 .. 100 of string


creates 100*100 elements for the array name
Tony




PostPosted: Thu Jan 01, 2004 3:14 pm   Post subject: (No subject)

and you access it using name(num1,num2)
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Kuntzy




PostPosted: Thu Jan 01, 2004 9:25 pm   Post subject: v

Thanx, I have just never seen them used in anyone else's code before.
santabruzer




PostPosted: Fri Jan 02, 2004 1:26 am   Post subject: (No subject)

well i dunnu, if i ever finish my ISU and post it here, you shall see..
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  [ 5 Posts ]
Jump to:   


Style:  
Search: