I do this, in my code, too. I also label my else's (with the opposite of
the condition, of course)
4D's macros have a cool way of making this happen.
for example, to make a labeled if
type the text of the condition
Select the text
Insert the if macro
The condition is replaced with
if condition then
end if #condition
That's not entirely correct, because 4D uses the ` as the comment symbol,
but you get the idea.
If you use Levure, Trevor foolishly accepted my indent rules for
sublimeText. I added an indent rule for blocks labeled like this
#<this is a block>
#</this is a block>
The code in such a block will be indented another level, which means I get
visual separation within the block, and I can fold it.
On Thu, Aug 10, 2017 at 6:00 AM, Monte Goulding via use-livecode <
> > On 10 Aug 2017, at 6:02 pm, panagiotis merakos via use-livecode <
> firstname.lastname@example.org> wrote:
> > I personally like this idea, and I find it pretty useful. And this does
> > sound too difficult to implement.
> > But I am not sure if everyone will like it, so if we do it, we should
> > probably add a pref to turn it on/off.
> > The good news is that Ali has been doing some work on scriptifying the
> > Prefs stack, so in the future it will be easier to add Prefs for such
> > features.
> I wonder whether a mouse over tooltip would work just as well. Is this
> something you want to be able to see _all_ the time or just if you get
> confused about where you are?
> use-livecode mailing list
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
and did a little diving.
And God said, "This is good."
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription