In other "flavors" of M you can turn BREAK on and then place breaks in your code, I am on my windows box right now so I cannot give a more precise answer, sorry.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Toppenberg Sent: Sunday, April 24, 2005 11:05 PM To: hardhats-members@lists.sourceforge.net Subject: Re: [Hardhats-members] GT.M question: ZBREAK questions I had figured out the answer for the first part of this post. But I was hoping someone would comment on the second part. I copy it here again, > Also, it seems that there is ONE breakpoint held by > GT.M. I.e. $ZBREAK is a variable that holds the one > breakpoint for the system, rather than a function > that > allows creating of multiple breakpoints scattered > across a source file. Is this correct? > Thanks Kevin --- Kevin Toppenberg <[EMAIL PROTECTED]> wrote: > I have been playing with the GT.M function ZBREAK. > > I can do this, and it works: > set pos="A1^test" > ZBREAK @pos > > And I can do this: > ZBREAK A1^test:"n tmg s > tmg=$$STEPTRAP^TMGTPSTP($ZPOS,1)" > > but I CAN'T do this: > ZBREAK @pos:"n tmg s > tmg=$$STEPTRAP^TMGTPSTP($ZPOS,1)" > > Any ideas why? Or how to achieve the above? > I am wanting to be able to ask the user to specify > an > address, and then set a custom breakpoint > dynamically. > > > Also, it seems that there is ONE breakpoint held by > GT.M. I.e. $ZBREAK is a variable that holds the one > breakpoint for the system, rather than a function > that > allows creating of multiple breakpoints scattered > across a source file. Is this correct? > > Thanks > Kevin > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT > Products from real users. > Discover which products truly live up to the hype. > Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members