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

Username:   Password: 
 RegisterRegister   
 Break Command/Passing Array Directly Into Procedure
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Jeffmagma




PostPosted: Sun Dec 27, 2015 11:53 am   Post subject: Break Command/Passing Array Directly Into Procedure

I have 2 quick questions:
1. Is there a command in turing that lets you exit a for loop?
2. How do I pass an array directly into a procedure that requires an array? For example drawfillpolygon, do I need a variable for that or is there a way to use an array directly?
Sponsor
Sponsor
Sponsor
sponsor
Zren




PostPosted: Sun Dec 27, 2015 12:07 pm   Post subject: RE:Break Command/Passing Array Directly Into Procedure

1. exit should work.
2. init maybe? Iunno if it'll work.
Jeffmagma




PostPosted: Sun Dec 27, 2015 3:33 pm   Post subject: RE:Break Command/Passing Array Directly Into Procedure

Thanks for your help! exit works, I thought it was only for endless loops, and init doesn't work... I guess ill just stick to variables then
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: