I like this approach; at least I understand it.
Two questions:
First, my strings usually do not have line-ends (CR-LF's). Is there some way to make the thing wrap (a la editbox)?
Second, Ctrl-W complains about "unrecognized command verb" (compiling, presumably). Can I temporarily turn this off? (I hate to ignore each time ...)
Jim
>>OK, thanks.
>>
>>>not if you are suspended while the memvar is in scope
>>>
>>>>Not having tried this yet ... would there be a problem if my string was LOCAL?
>
>Another thing I may do with longer strings is (assuming the code is waiting in the debugger with the variable in scope)
>
>strtofile(m.cvar, "tmp.prg")
>modi comm tmp
>m.cVar=filetostr("tmp.prg")
>
>The m. here is for intellisense to find my variable faster - I usually forget its name as soon as I switch from debugger to command window :). The nice thing about this is that I have the tmp.prg on disk when I exit the app, and anything I fixed there is reusable for fixing the code from which it came. Maybe a bit more typing than clipboard way, maybe not - YMMV.
Jim Nelson
Newbury Park, CA