PDA

View Full Version : line truncate...again



queenidog
- 9th March 2012, 00:45
I asked the question before, got an answer and supposedly fixed the problem. What is it?

Answer: The line truncating problem where the filename is too long and the ICD will not RUN.

I have been debugging a program for 2 weeks using the exact same filename and path and it certainly is <60 characters as required by the assembler. (All code is PBP 3.0).

Here's my path: D:/MyCode/Hood26.pbp

Why should this call up the "line truncating" dialog box, ESPECIALLY since I've been saving and compiling to this same file path? It compiles fine but when I hit Run, it cacks.

queenidog
- 12th March 2012, 21:58
I received an answer on this from David Barker of Mecanique (who developed the ICD). He was correct in his analysis, it was semi-colons in my rem statements that were causing the problem. Here is his response:

Hi

I suspect it's the use of ';' for commenting. Although PBP allows this, so does the underlying assembler. Unfortunately, this ICD parser *has* to use ';' as a token during parsing and I think this is why it's getting confused.

In short, search and replace all ; symbols and replace with ' - this is a bit of a standard with BASICs for commenting, so it's not a bad habit to get into.

After making sure all ; symbols have been replaced, try re-building.
Please let me know how you get on. If the problem persists, please resend the *.pbp file with the changes you have made.

regards

David Barker