New topic: Is coding always one line each
<http://forums.realsoftware.com/viewtopic.php?t=37945> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message helgetjelta Post subject: Is coding always one line eachPosted: Fri Mar 04, 2011 9:56 am Joined: Tue Feb 20, 2007 2:05 pm Posts: 45 Hi, I have a very long line of code, but can I divide it onto two lines instead of one? Or is RealSoftware locked to only one-line-code ? cheeers Helge Top DaveS Post subject: Re: Is coding always one line eachPosted: Fri Mar 04, 2011 10:00 am Joined: Sun Aug 05, 2007 10:46 am Posts: 2827 Location: San Diego, CA put an "_" at the end where you want to break the line visually Code:msgbox "this is an " + _ "example of "+ _ "how you would code"+ _ "a very long line" Note the "+" signs are required in this example, because we are concatenating a string..... they may or may not be required depending on what you are doing..... basically if the line is syntax correct if you were to string it out and remove the "_" then you are doing the right thing _________________ Dave Sisemore MacPro, OSX 10.6.4 RB2009r5.1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top helgetjelta Post subject: Re: Is coding always one line eachPosted: Fri Mar 04, 2011 10:02 am Joined: Tue Feb 20, 2007 2:05 pm Posts: 45 Thanks I didn't know that... Now my very long SQL can be more easy to read! Thanks a lot!! cheers Helge Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
