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

Username:   Password: 
 RegisterRegister   
 1 Line of code split to 2 lines
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mirhagk




PostPosted: Thu Nov 18, 2010 9:43 am   Post subject: 1 Line of code split to 2 lines

If I am typing and I realize that one line of code (a function call) is really long, is there any way to split this line up to mulitple lines (like in visual basic when you continue a line on the next line)

I doubt there is, but if there is can someone tell me, it'd be useful for netbook programming.
Sponsor
Sponsor
Sponsor
sponsor
CWRules




PostPosted: Thu Nov 18, 2010 1:07 pm   Post subject: Re: 1 Line of code split to 2 lines

It's actually very simple. Just go down a line continue the code. For example, this:

Turing:
locate
(3,
4)
put
"Hello"


runs the same as this:

Turing:
locate (3, 4)
put "Hello"
mirhagk




PostPosted: Thu Nov 18, 2010 3:31 pm   Post subject: RE:1 Line of code split to 2 lines

wow... lol sorry, long time since I've used Turing... kind believe that went over my head....
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: