Two important types in LCB, which deserve some more attention are lists and arrays. list – a list is a sequence of values, each element of the sequence is assigned a numerical index, starting with 1 and proceeding sequentially array – an array is a mapping from a string to any value (i.e. an associative
Including an LCB library in a standalone
Elanor Buchanan June 8, 2016Including the library in a standalone If you have created a LiveCode app that uses a library and want to build it into a standalone you must ensure the library is included in the standalone file. Choose File -> Standalone Application Settings On the General Pane you can choose to let LiveCode search for inclusions
Packaging and sharing an LCB library
Elanor Buchanan June 8, 2016Packaging a library In order to share your library you create a package. This package can be shared with other LiveCode users. Open the Extension Builder from the Tools palette Click the Open button and load the “HelloWorldLibrary.lcb” file Click the Package button This will create a packaged library file with the extension .lce in
LCB metadata
Elanor Buchanan June 8, 2016LiveCode Builder extension metadata In order to package any extension in LiveCode Builder we need to add some required metadata. The metadata provides information about the extension. The required metadata is title: a human-readable name for the module author: the name of the author of the module version: a string in the form X.Y.Z (with
LCB handler definitions
Elanor Buchanan June 8, 2016LCB public handler definitions Handler definitions are used to define functions which can be called from LiveCode Builder code, invoked as a result of events triggering in a widget module, or called from LiveCode Script if public and inside a library module. There is no distinction between handlers which return a value and ones which
LCB library definition
Elanor Buchanan June 8, 2016LCB Library Definition The first thing we need to do is declare the type of extension we are writing. We are writing a library and so we need to declare the extension as such. The library declaration is followed by an identifier. An extension identifier should be in the form community.livecode.<user name>.<library name> In my
Creating an LCB library
Elanor Buchanan June 8, 2016Creating a LiveCode Builder Library Start by creating a new directory to develop your extension in. When you package an extension a number of files are created. The Extension Builder currently relies on there being only one .lcb file in a given directory. Because of this it is simplest to create a new directory for
LiveCode Classic 10.0.1 Stable and 10.0.2-rc-1 Released
Heather Laine April 17, 2025Today we are pleased to bring you the stable release of LiveCode Classic 10.0.1, plus the release candidate for 10.0.2. Support for iOS SDK 18.2 has been added to 10.0.2 to comply with the latest requirements for submission to the iOS app store.
Recent Comments