![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am in the last stages of a programming change, and I am getting unexpected results. I do not know why yet. Part of the awkwardness is that the values that I want to check are long multiline strings. These do not show well or accurately in the debugger. The pieces that I am concatenating seem to be correct, but somehow, the long strings are going pear-shaped. I do not know if the erroneous results I am getting are due to a bug of mine or an artefact of VFP's. What is a good way to interrogate the values of multiline strings? |
#3
| |||
| |||
|
|
What is a good way to interrogate the values of multiline strings? I have a special development pad in my menues, it is available only in the ide. |
#4
| |||
| |||
|
|
Hi Gene, What is a good way to interrogate the values of multiline strings? I have a special development pad in my menues, it is available only in the ide. In the development popup is a bar to open the command window in dockable state. In this state it is opened in the windows desktop, independent from _SCREEN. During debugging, while the program is suspended, I open the command window and type: _cliptext = the_same_expression_as_in_watch_window<enter It is possible to copy this expression right from the watch window. Then I open some editor, mostly notepad. There I paste the clipboard and can read all the lines. Regards Bernhard Sander |
#5
| |||
| |||
|
|
What is a good way to interrogate the values of multiline strings? I have a special development pad in my menues, it is available only in the ide. In the development popup is a bar to open the command window in dockable state. In this state it is opened in the windows desktop, independent from _SCREEN. During debugging, while the program is suspended, I open the command window and type: _cliptext = the_same_expression_as_in_watch_window<enter It is possible to copy this expression right from the watch window. Then I open some editor, mostly notepad. There I paste the clipboard and can read all the lines. |
#6
| |||
| |||
|
|
I am in the last stages of a programming change, and I am getting unexpected results. I do not know why yet. Part of the awkwardness is that the values that I want to check are long multiline strings. These do not show well or accurately in the debugger. The pieces that I am concatenating seem to be correct, but somehow, the long strings are going pear-shaped. I do not know if the erroneous results I am getting are due to a bug of mine or an artefact of VFP's. What is a good way to interrogate the values of multiline strings? Sincerely, Gene Wirchenko Computerese Irregular Verb Conjugation: I have preferences. You have biases. He/She has prejudices. |
#7
| |||
| |||
|
|
xposting sucks.... but |
|
mlines() is nice -- but be sure you SET MEMOWIDTH first. alines() is better to make an array |
#8
| |||
| |||
|
|
I have a special development pad in my menues, it is available only in the ide. In the development popup is a bar to open the command window in dockable state. In this state it is opened in the windows desktop, independent from _SCREEN. During debugging, while the program is suspended, I open the command window and type: _cliptext = the_same_expression_as_in_watch_window<enter It is possible to copy this expression right from the watch window. Then I open some editor, mostly notepad. There I paste the clipboard and can read all the lines. That sounds interesting. Could you please post the code (or more details at the least)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |