SUggestion for improved LiveCode scripting notation
bonnmike at gmail.com
Fri Oct 5 11:50:19 CDT 2012
While not the same thing as you are talking about, when I write scripts I
use the "on" form for lc commands and handlers and any that are created
soley by me I use the "command" form. This way it only takes a glance to
know which are mine and which are built in.
On Fri, Oct 5, 2012 at 10:47 AM, Peter Haworth <pete at lcsql.com> wrote:
> This is something I've thought about too. Even for my own use, coming back
> to code I haven't looked at for some time, it's sometimes hard to remember
> where a handler is located.
> As part of the docs for my code, I have a script that goes through all the
> scripts in a stack file, lists every handler alphabetically along with its
> location and any other handlers that call it. That helps but some sort of
> prefix (or suffix) notation sounds like a good idea.
> lcSQL Software <http://www.lcsql.com>
> On Fri, Oct 5, 2012 at 9:19 AM, stgoldberg at aol.com <stgoldberg at aol.com
> > more specifically, an "XC" to indicate that the handler for the word is
> > the card, and "XS" to indicate that the handler is in the stack. In that
> > way, it would be much clearer where to look for the meaning or the word,
> > whether in the LiveCode dictionary, the card, or the stack. I wonder what
> > other people on the forum think about using these prefixes.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the use-livecode