[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: ON-BREAK Question
- Subject: Re: ON-BREAK Question
- From: "Huber, Robert" <RHuber@IMF.ORG>
- Date: Wed, 12 Jul 2000 11:58:23 -0400
Chris,
Not to be argumentative, but in this specific case I would to disagree and
state that it would be reasonable for the language to provide the
information. The sub-process that performs the ON-BREAK processing certainly
knows what has happened and could quite easily inform the executing program
what has happened with a flag or some such.
Thanks for getting back,
Robert
-----Original Message-----
From: Wanko, Christopher G, CFCTR [mailto:apollo@ATT.COM]
Sent: Wednesday, July 12, 2000 10:39 AM
To: SQR-USERS@list.iex.net
Subject: Re: ON-BREAK Question
> I know I could set up my own semaphores, but that is
> something of a pain and was hoping there was something built into SQR that
would
> provide the information needed. I did look through the manuals but
> nothing popped out at me.
It's not the job of the language to provide a semaphore for you, so you do
need to make your own sempahore or global variable to catch the break.
Just create a variable $broken and move the procedure name to it if it isn't
null.
Make sure when you process the final break, you reset the variable to null.
-Chris