Long instruction lines

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Long instruction lines

Post by kolia » Wed Sep 09, 2015 8:02 pm

Hi,
I have some lines of code that may be quite long, especially when strings are concatenated. Is there a continuation character that would allow to split a code line over several lines?
Thank you
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Long instruction lines

Post by FourthWorld » Wed Sep 09, 2015 8:12 pm

You can use "\" as a continuation character.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Long instruction lines

Post by dunbarx » Wed Sep 09, 2015 8:29 pm

Hi.

What Richard said. I always keep an empty line above and below these run-on line packages, just for readability.

Craig Newman

Post Reply