Running Processes in the background
Klaus major-k
klaus at major-k.de
Mon Jan 18 14:50:52 EST 2016
Am 18.01.2016 um 20:01 schrieb Ralph DiMola <rdimola at evergreeninfo.net>:
>
> Enclose tTest in quotes in the send otherwise it is looking for the variable
> tTest.
>
> send "tTest" to me in 1 minute
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
>
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
> Of Glen Bojsza
> Sent: Monday, January 18, 2016 12:20 PM
> To: How to use LiveCode
> Subject: Re: Running Processes in the background
>
> Hi Ralph,
>
> I tried an example outlined by you and I keep getting en error where it
> can't find the handler?
>
> *on* mouseUp
> *put* 1 into x
> *set* the stimer of this stack to "false"
> *send* tTest to me in 1 minute
# this is where the first error occurs?
## „minute“ is unknown to the engine, use "60 secs“ instead :-)
> *repeat* for 30 times
> *if* the stimer of this stack is true *then*
> *put* "reached goal" into fld counter
> *else*
> *put* x + 6 into x
> *put* x into fld counter
> *wait* for 1 second
> *end* *if*
> *end* *repeat*
> *end* mouseUp
>
> *on* tTest
> *put* "made it to tTest with x = " & x & cr
> *send* tTest to me in 1 minutes
> *end* tTest
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list