...is that a return in a function (or a command but that's more
difficult to understand) stops the running handler and returns
immediately a result disregarding next statements.
A light bulb (if somewhat dim) just went on over my head... thanks.
For most things, readability is better
Writing tutorials, I'm probably depraved :-)
Or for other reasons...
What I wanted to point out but it's possible I missed it ;-) is that
a return in a function (or a command but that's more difficult to
understand) stops the running handler and returns immediately a
result disregarding ne
Eric Chatonet wrote:
Dear Jacque,
You are right (as Ken was in a recent post).
But my goal is always readability and elegance:
e.g. no break, no 'and' and no 'or': something understandable at first
sight without racking one's brains...
I always prefer it to concision even if I'm able to write p
Dear Jacque,
You are right (as Ken was in a recent post).
But my goal is always readability and elegance:
e.g. no break, no 'and' and no 'or': something understandable at
first sight without racking one's brains...
I always prefer it to concision even if I'm able to write put
CleanText(StripC
Eric Chatonet wrote:
Bonjour à tous,
Le 24 juil. 08 à 07:49, Terry Judd a écrit :
In your card or stack script
ON mouseDown pMouseBtnNum
IF pMouseBtnNum = 3 THEN
IF word 1 of the target = "field" THEN
IF not(the locktext of the target) THEN
popup btn "c
I like that especially when I can understand it. Very often I copy someone's
excellent code and just use it like a monkey...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your su
> Rev allows many ways to script:
Agreed!
> Here is the same as the above using a function.
> What is interesting is that a function returns a value immediately
> when a condition matches and avoids using nested conditional
> structures or long statements with and/or.
>
> on mouseDown pButton
>
Bonjour à tous,
Le 24 juil. 08 à 07:49, Terry Judd a écrit :
In your card or stack script
ON mouseDown pMouseBtnNum
IF pMouseBtnNum = 3 THEN
IF word 1 of the target = "field" THEN
IF not(the locktext of the target) THEN
popup btn "contextualMenu"