Re: Stop Rolling Loop

2010-10-20 Thread wayne durden
Glad that helped Raz.  In practice the wait period can be much much smaller,
and in my experience even a zero value will allow most user interface
actions to be picked up.

Wayne

On Wed, Oct 13, 2010 at 5:41 PM, Razvan Pantescu razv...@hotmail.comwrote:


 Hi Wayne,
 Thank you for your suggestions.
 I've done that using in loop this line:   wait 5 seconds with messages
 and next tested in loop if a global variable was set with 0 in Stop button.
 It works fine now,

 Thank you!
 Raz.



  Date: Wed, 13 Oct 2010 15:54:19 -0400
  From: wdur...@gmail.com
  To: use-revolution@lists.runrev.com
  Subject: Re: Stop Rolling Loop
 
  Hello Razvan Pantescu,
 
  This is where you need to use the wait 0 milliseconds with messages
 
  item which was recently discussed on the list.
 
  Put the wait with messages inside the loop and it will detect interface
  events like clicks on other buttons.  Then you will need a section to
 check
  some state the other button set also.  For instance, your other button
 could
  toggle a custom prop or a global variable that is being checked in the
  loop.  That should allow you a responsive interface and the ability to
 halt
  a process.
 
  It may be more preferable however to use the
 
  send in time
 
  form rather than a loop.
 
  If you do a search for runrev send in time  this should become clear.
 
  Wayne
 
 
  On Wed, Oct 13, 2010 at 3:48 PM, Razvan Pantescu razv...@hotmail.com
 wrote:
 
  
   Hi again,
  
   I've made a script that starts listing every 5 seconds some URLs
 onclick a
   Start button, but I want to stop listing in any moment pushing a Stop
   button.
   There is some break or exit function for that.
   I've noticed that any other buttons are disabled while looping.
  
   Thank you,
  
   Raz.
  
  
  
From: razv...@hotmail.com
To: use-revolution@lists.runrev.com
Date: Wed, 13 Oct 2010 19:24:21 +
Subject: RE: List Words from Textarea
   
   
Merci Beaucoup Pierre!!
   
It works fine,
   
Raz.
   
   
   
   
 From: psaho...@free.fr
 Date: Wed, 13 Oct 2010 21:18:37 +0200
 To: use-revolution@lists.runrev.com
 CC:
 Subject: Re: List Words from Textarea

 Welcome to LiveCode Raz !

 on mouseup
 repeat for each word w in fld myfield
 put w  cr after mywordslist
 end repeat
 answer mywordslist
 end mouseup

 HTH,

 Best,

 Pierre


 Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit :

 
  I've started to study Livecode, don't know too much of it. I'm
 living
   about 250km north of Danube (Focsani, Romania)
 
  So any suggestions so I can read or list all the words from a
   Textarea?
 
 
  Thanks,
  Raz.
 
 
 
 
  Date: Wed, 13 Oct 2010 21:59:55 +0300
  From: richmondmathew...@gmail.com
  To: use-revolution@lists.runrev.com
  Subject: Re: List Words from Textarea
 
   On 10/13/2010 09:57 PM, Razvan Pantescu wrote:
  Hi,
 
  How can I list every word from a textarea?
 
  put any word of field - show any word, but exists some every
   word?
 
  Thank you,
  Raz.
 
 
 
  Wow; at least one other LiveCode / RunRev programmer in the
 Balkans;
  there's hope yet!
 
  How far north of the Danube do you live?
 
  sincerely, Richmond Mathewson (Plovdiv, Bulgaria).
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
   ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution

 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70

 www.wrds.com
 www.sahores-conseil.com




 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
   
   ___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  
___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use

Stop Rolling Loop

2010-10-13 Thread Razvan Pantescu

Hi again,

I've made a script that starts listing every 5 seconds some URLs onclick a 
Start button, but I want to stop listing in any moment pushing a Stop button.
There is some break or exit function for that.
I've noticed that any other buttons are disabled while looping.

Thank you,

Raz.



 From: razv...@hotmail.com
 To: use-revolution@lists.runrev.com
 Date: Wed, 13 Oct 2010 19:24:21 +
 Subject: RE: List Words from Textarea
 
 
 Merci Beaucoup Pierre!!
 
 It works fine,
 
 Raz.
 
 
 
 
  From: psaho...@free.fr
  Date: Wed, 13 Oct 2010 21:18:37 +0200
  To: use-revolution@lists.runrev.com
  CC: 
  Subject: Re: List Words from Textarea
  
  Welcome to LiveCode Raz !
  
  on mouseup
  repeat for each word w in fld myfield
  put w  cr after mywordslist
  end repeat
  answer mywordslist
  end mouseup
  
  HTH,
  
  Best,
  
  Pierre
  
  
  Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit :
  
   
   I've started to study Livecode, don't know too much of it. I'm living 
   about 250km north of Danube (Focsani, Romania)
   
   So any suggestions so I can read or list all the words from a Textarea?
   
   
   Thanks, 
   Raz.
   
   
   
   
   Date: Wed, 13 Oct 2010 21:59:55 +0300
   From: richmondmathew...@gmail.com
   To: use-revolution@lists.runrev.com
   Subject: Re: List Words from Textarea
   
On 10/13/2010 09:57 PM, Razvan Pantescu wrote:
   Hi,
   
   How can I list every word from a textarea?
   
   put any word of field - show any word, but exists some every word?
   
   Thank you,
   Raz.
   
   
   
   Wow; at least one other LiveCode / RunRev programmer in the Balkans;
   there's hope yet!
   
   How far north of the Danube do you live?
   
   sincerely, Richmond Mathewson (Plovdiv, Bulgaria).
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your 
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
   
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your 
   subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
  
  --
  Pierre Sahores
  mobile : (33) 6 03 95 77 70
  
  www.wrds.com
  www.sahores-conseil.com
  
  
  
  
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your 
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
  
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Stop Rolling Loop

2010-10-13 Thread wayne durden
Hello Razvan Pantescu,

This is where you need to use the wait 0 milliseconds with messages

item which was recently discussed on the list.

Put the wait with messages inside the loop and it will detect interface
events like clicks on other buttons.  Then you will need a section to check
some state the other button set also.  For instance, your other button could
toggle a custom prop or a global variable that is being checked in the
loop.  That should allow you a responsive interface and the ability to halt
a process.

It may be more preferable however to use the

send in time

form rather than a loop.

If you do a search for runrev send in time  this should become clear.

Wayne


On Wed, Oct 13, 2010 at 3:48 PM, Razvan Pantescu razv...@hotmail.comwrote:


 Hi again,

 I've made a script that starts listing every 5 seconds some URLs onclick a
 Start button, but I want to stop listing in any moment pushing a Stop
 button.
 There is some break or exit function for that.
 I've noticed that any other buttons are disabled while looping.

 Thank you,

 Raz.



  From: razv...@hotmail.com
  To: use-revolution@lists.runrev.com
  Date: Wed, 13 Oct 2010 19:24:21 +
  Subject: RE: List Words from Textarea
 
 
  Merci Beaucoup Pierre!!
 
  It works fine,
 
  Raz.
 
 
 
 
   From: psaho...@free.fr
   Date: Wed, 13 Oct 2010 21:18:37 +0200
   To: use-revolution@lists.runrev.com
   CC:
   Subject: Re: List Words from Textarea
  
   Welcome to LiveCode Raz !
  
   on mouseup
   repeat for each word w in fld myfield
   put w  cr after mywordslist
   end repeat
   answer mywordslist
   end mouseup
  
   HTH,
  
   Best,
  
   Pierre
  
  
   Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit :
  
   
I've started to study Livecode, don't know too much of it. I'm living
 about 250km north of Danube (Focsani, Romania)
   
So any suggestions so I can read or list all the words from a
 Textarea?
   
   
Thanks,
Raz.
   
   
   
   
Date: Wed, 13 Oct 2010 21:59:55 +0300
From: richmondmathew...@gmail.com
To: use-revolution@lists.runrev.com
Subject: Re: List Words from Textarea
   
 On 10/13/2010 09:57 PM, Razvan Pantescu wrote:
Hi,
   
How can I list every word from a textarea?
   
put any word of field - show any word, but exists some every
 word?
   
Thank you,
Raz.
   
   
   
Wow; at least one other LiveCode / RunRev programmer in the Balkans;
there's hope yet!
   
How far north of the Danube do you live?
   
sincerely, Richmond Mathewson (Plovdiv, Bulgaria).
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
   
 ___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  
   --
   Pierre Sahores
   mobile : (33) 6 03 95 77 70
  
   www.wrds.com
   www.sahores-conseil.com
  
  
  
  
   ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution

  ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Stop Rolling Loop

2010-10-13 Thread Razvan Pantescu

Hi Wayne,
Thank you for your suggestions.
I've done that using in loop this line:   wait 5 seconds with messages
   
and next tested in loop if a global variable was set with 0 in Stop button.
It works fine now,

Thank you!
Raz.



 Date: Wed, 13 Oct 2010 15:54:19 -0400
 From: wdur...@gmail.com
 To: use-revolution@lists.runrev.com
 Subject: Re: Stop Rolling Loop
 
 Hello Razvan Pantescu,
 
 This is where you need to use the wait 0 milliseconds with messages
 
 item which was recently discussed on the list.
 
 Put the wait with messages inside the loop and it will detect interface
 events like clicks on other buttons.  Then you will need a section to check
 some state the other button set also.  For instance, your other button could
 toggle a custom prop or a global variable that is being checked in the
 loop.  That should allow you a responsive interface and the ability to halt
 a process.
 
 It may be more preferable however to use the
 
 send in time
 
 form rather than a loop.
 
 If you do a search for runrev send in time  this should become clear.
 
 Wayne
 
 
 On Wed, Oct 13, 2010 at 3:48 PM, Razvan Pantescu razv...@hotmail.comwrote:
 
 
  Hi again,
 
  I've made a script that starts listing every 5 seconds some URLs onclick a
  Start button, but I want to stop listing in any moment pushing a Stop
  button.
  There is some break or exit function for that.
  I've noticed that any other buttons are disabled while looping.
 
  Thank you,
 
  Raz.
 
 
 
   From: razv...@hotmail.com
   To: use-revolution@lists.runrev.com
   Date: Wed, 13 Oct 2010 19:24:21 +
   Subject: RE: List Words from Textarea
  
  
   Merci Beaucoup Pierre!!
  
   It works fine,
  
   Raz.
  
  
  
  
From: psaho...@free.fr
Date: Wed, 13 Oct 2010 21:18:37 +0200
To: use-revolution@lists.runrev.com
CC:
Subject: Re: List Words from Textarea
   
Welcome to LiveCode Raz !
   
on mouseup
repeat for each word w in fld myfield
put w  cr after mywordslist
end repeat
answer mywordslist
end mouseup
   
HTH,
   
Best,
   
Pierre
   
   
Le 13 oct. 2010 à 21:06, Razvan Pantescu a écrit :
   

 I've started to study Livecode, don't know too much of it. I'm living
  about 250km north of Danube (Focsani, Romania)

 So any suggestions so I can read or list all the words from a
  Textarea?


 Thanks,
 Raz.




 Date: Wed, 13 Oct 2010 21:59:55 +0300
 From: richmondmathew...@gmail.com
 To: use-revolution@lists.runrev.com
 Subject: Re: List Words from Textarea

  On 10/13/2010 09:57 PM, Razvan Pantescu wrote:
 Hi,

 How can I list every word from a textarea?

 put any word of field - show any word, but exists some every
  word?

 Thank you,
 Raz.



 Wow; at least one other LiveCode / RunRev programmer in the Balkans;
 there's hope yet!

 How far north of the Danube do you live?

 sincerely, Richmond Mathewson (Plovdiv, Bulgaria).
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

  ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
   
--
Pierre Sahores
mobile : (33) 6 03 95 77 70
   
www.wrds.com
www.sahores-conseil.com
   
   
   
   
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
  
  ___
   use-revolution mailing list
   use-revolution@lists.runrev.com
   Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
   http://lists.runrev.com/mailman/listinfo/use-revolution
 
   ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
  
___
use-revolution mailing list
use-revolution