parsing comments in scripts
Dar Scott
dsc at swcp.com
Mon Dec 13 16:45:14 EST 2004
On Dec 13, 2004, at 1:36 PM, J. Landman Gay wrote:
> The reason I use the top-comment disabling technique so much is
> because I often write two or three different versions of a handler,
> and then comment/uncomment them repeatedly until I decide which one I
> want to use.
This has the advantage in that if you want to use a few lines from the
disabled one to include in another one, you don't have to uncomment the
lines. My habit has been to select the entire handler and choose
comment from the script menu; this has the problem that raided lines
are commented.
I suppose one could put a back tick in front of the name, but it would
have to be done at the end, also.
Dar
****************************************
Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services
****************************************
More information about the use-livecode
mailing list