Search found 5 matches
Search found 5 matches • Page 1 of 1
I've been highlighting Python in this thread mostly because that's what the thread was spawned for. But if you search RunRevPlanet for "Create LiveCode Externals in Pascal" you'll see there is also rrpPascalSDK which uses the rrpAPI glue code to execute Open Pascal via the Externals mechanism. I see...
- Fri Sep 26, 2014 10:51 am
- Forum: Engine Contributors
- Topic: python externals
- Replies: 12
- Views: 6204
Indeed, the original post was about linking external Python resources into your LiveCode development. I'm coming from a standpoint of a LiveCode evangelist trying to convince people to pick up hypertalk and give it a(nother) chance. The challenge is that English-like easy-to-read interpretive script...
You can call Python from the command line, so you could trigger any Python script using LC's shell function. While that's perfectly fine during the development phase, to be calling out to external interpreters to execute external files, it isn't very elegant, portable, easily distributable. The dev...
This does look interesting. Is there any way to promote this to official feature request status? I'm surprised there are so few "me too" posts on this thread. I learnt programming through Hypercard (and to a lesser extent Psion's OPL) back in the mid nineties and watched sadly as Apple kept kicking ...
- Sun Sep 01, 2013 3:33 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Newbie: Trim?
- Replies: 4
- Views: 3415
A simple regular expression can accomplish familiar trim() functionality: function trim input if matchText(input, "^\s*+(\S*(?:\s+\S+)*+)\s*+$", captureGroup1) then return captureGroup1 else return input end if end trim This regular expression matches: ^ -- the beginning of the input; \s*+ -- any le...