Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 11/22/26 10:49
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (JeyKey II, Grant), 53,147 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How does one manage cooroutines properly to run some and not oth #311996
02/22/10 18:09
02/22/10 18:09
Joined: Feb 2006
Posts: 52
C
carlpa Offline OP
Junior Member
carlpa  Offline OP
Junior Member
C

Joined: Feb 2006
Posts: 52
I am using Lite C and cannot use Legacy C. I am trying to manage coroutine function during a "wait()" command. A command like "if(check != 2){return:}" at the beginning of a function does not seem to work. Any ideas please.


Researcher & clinician. A6, A7, & A8
First computer a Commodore Pet
Re: How does one manage cooroutines properly to run some and not oth [Re: carlpa] #312003
02/22/10 18:41
02/22/10 18:41
Joined: Nov 2002
Posts: 913
Berlin, Germany
S
SchokoKeks Offline
User
SchokoKeks  Offline
User
S

Joined: Nov 2002
Posts: 913
Berlin, Germany
the check variable has to be a global var in your example.

better solution:
use "proc_kill(4);" at the beginning of the cofunction. Read the manual entry about that function.

Re: How does one manage cooroutines properly to run some and not oth [Re: SchokoKeks] #312007
02/22/10 19:23
02/22/10 19:23
Joined: Feb 2006
Posts: 52
C
carlpa Offline OP
Junior Member
carlpa  Offline OP
Junior Member
C

Joined: Feb 2006
Posts: 52
Thank you for your reply. I have tried proc_kill(4). Unfortunately, it stops all the functions and I cannot read a keypress. There is no "my" or "you" as the program is for reaction time testing and not a "game". I suppose I could "pretend" a game and try proc_kill but I am not sure how to do that.


Researcher & clinician. A6, A7, & A8
First computer a Commodore Pet

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1