Until Bruce develops vec.stringfromdebugwindow or something similar...
Can use:
LOCAL s= MiscPlugin.Get_WindowText("PowerPro Debug", ;;+
1, "", "win=all", "pump=1", "Sep=2")
; s= REPLACECHARS(s, ESC(?"\x02", ?"\"), ESC(?"\r\n", ?"\"))
s= REPLACECHARS(s, "\x02", "\r\n")
LOCAL vS= vec.createFromLines(s)
LOCAL k= VEC.Capacity(vS)
; Weird, using debug to show contents of debug for testing...
DEBUG
FOR(LOCAL i= k -1; i >-1; i= i-1)
WIN.Debug("#"++ FILL("0000", i), vS[i])
ENDFOR
QUIT
Ted
--- In [email protected], "acs322000" wrote:
> ...
> In this situation I wished I had a quick
> way to read the contents of powerpro's debug window from the
> telnet prompt. With it and ppbang I could have quickly
> disangaged myself from the telnet prompt on to a real -albeit
> remote- window-based session.
>
> Bruce, would you consider adding something to neatly return the
> contents of the debug window? I was thinking a vec.
> stringfromdebugwindow service or something similar...
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/