Hi all,
I'm fairly new to B4PPC, working on my first app, and having a blast. My desktop programmer is giving me fits. I find that after running the program for awhile (30 minutes) I loose the ability to add a BREAK command from the toolbar. I instead have to add a #break# comment, which seems to work as a workaround. Also after a bit of use the copy/paste funtionality gets erratic, taking multiple attempts to copy/paste for it to work. (Doesn't happen outside this application).
I have been working through these limitations (I wasn't sure if it's my own environment causing problems or a buggy program). Well now I'm at a stand still: My program has ~750 code lines now and whenever I try to run in Debug, or compile, I get random error messages like the following:
Error compiling program.
Error description: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Occurred on line: 697
"
- or -
Error description: Length cannot be less than zero.
Parameter name: length
Occurred on line: 696
"
In the first example, I have no parameter named 'startIndex'.
In the second example, the only 'length' I can find in my code is all the 'StrLength' keyword.
The program keeps adding the quotes seen in the last line in the examples above to the code during compile or debug run. Sometimes it'll add one, sometimes up to three quotes. The line number of the error is usually nothing more than a blank line with the quote that the program added! No matter how many lines of code I comment out I can't pin down the problem. The program keeps adding these quotes to the code then error'ing out at the line the quotes are added. I have spend a good deal of time looking for typos in my code, just in case the program isn't so thorough in checking syntax, but I can find no fault. I realize that doesn't mean there isn't any but I'd like to hear what others are experiencing with the programmer.
I'm hoping since this board is new and it seems like a lot of good information was lost that this is old news to some people.
Thanks in advance for any help.
-Mike
I'm fairly new to B4PPC, working on my first app, and having a blast. My desktop programmer is giving me fits. I find that after running the program for awhile (30 minutes) I loose the ability to add a BREAK command from the toolbar. I instead have to add a #break# comment, which seems to work as a workaround. Also after a bit of use the copy/paste funtionality gets erratic, taking multiple attempts to copy/paste for it to work. (Doesn't happen outside this application).
I have been working through these limitations (I wasn't sure if it's my own environment causing problems or a buggy program). Well now I'm at a stand still: My program has ~750 code lines now and whenever I try to run in Debug, or compile, I get random error messages like the following:
Error compiling program.
Error description: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
Occurred on line: 697
"
- or -
Error description: Length cannot be less than zero.
Parameter name: length
Occurred on line: 696
"
In the first example, I have no parameter named 'startIndex'.
In the second example, the only 'length' I can find in my code is all the 'StrLength' keyword.
The program keeps adding the quotes seen in the last line in the examples above to the code during compile or debug run. Sometimes it'll add one, sometimes up to three quotes. The line number of the error is usually nothing more than a blank line with the quote that the program added! No matter how many lines of code I comment out I can't pin down the problem. The program keeps adding these quotes to the code then error'ing out at the line the quotes are added. I have spend a good deal of time looking for typos in my code, just in case the program isn't so thorough in checking syntax, but I can find no fault. I realize that doesn't mean there isn't any but I'd like to hear what others are experiencing with the programmer.
I'm hoping since this board is new and it seems like a lot of good information was lost that this is old news to some people.
Thanks in advance for any help.
-Mike