I think I solved this.  Its done like this:
 
set pos="A1^test"
set pos=pos_":""n tmg s tmg=$$STEPTRAP^TMGTPSTP($ZPOS,1)"""
ZBREAK @pos
 
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

Reply via email to