Post
by trevordevore » Fri Feb 06, 2015 3:28 am
I've been looking at `syntax` entries in the ./libscript/src/*.mlc files. I would like to define some custom syntax in my mlc library if possible. I want to define the following syntax:
Code: Select all
put the host of url "http://www.livecode.com/test/index.html"
Is that possible in a library? If so, what is the syntax assuming I have a handler named `urlExtractBaseURL` that expects a string argument and returns a string?
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder