15 December 2023, 09:38 | #21 |
Phone Homer
Join Date: Jun 2006
Location: 5150
Posts: 5,887
|
How long is the code? I think your just have to split it up into smaller parts for testing to determine where the bug is.
|
17 December 2023, 12:20 | #22 | |
Registered User
Join Date: Feb 2017
Location: Oslo
Posts: 91
|
Quote:
1) Create a brand new file and copy the top half of your original program. 2) For each missing procedure, create a new procedure (empty) at the bottom of the listing to replace the missing one. 3) Do similar for each missing label. 4) At this point the program should contain no errors. 5) Save the file! and try compiling. If compiling fails, remove the last half from the new program. If it succeeds, add the next quarter of the original program. Then repeat from 2). It is a good idea to create a new file for each cycle, so you can easily compare the two last versions. |
|
17 December 2023, 22:58 | #23 |
Dh73
Join Date: Nov 2021
Location: Italy
Age: 38
Posts: 1
|
don't give up Axel: have faith and you will succeed
|
19 December 2023, 17:05 | #24 |
Registered User
Join Date: Jun 2022
Location: Italy
Posts: 10
|
The final sentence
After hundreds more unsuccessful tests, I followed the advice of a fan of mine who more than anything reminded me of a way of proceeding that I had thought of as a last resort: that is, to set up the program using the 'PROCEDURES' rather than the classic 'RETURN...GOSUB', which actually turns out to be excessive and intrusive to the extent that I have abused it, and I had not resorted to the 'procedures' solution before because I didn't want to overturn and/or reset the program from scratch.
In the end I found myself almost forced to do it, but the result of the compilation was a success! Now I continue to implement other parts of the code, and I believe that it can be published in the first months of 2024, obviously only after the necessary and rigorous tests. In a few days I went from despair to tranquility... Thank you Dh73! See you soon to all of you. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMOS Compiler problem | Louk | Coders. General | 4 | 19 September 2020 21:30 |
opt. AMOS Pro Compiler Settings? | Cylon | Coders. AMOS | 11 | 04 April 2016 22:47 |
Amos Compiler Difficulties | amigapd | support.Apps | 7 | 07 April 2012 15:52 |
Request AMOS Compiler manual (Scans) | MadAngus | request.Other | 4 | 12 December 2011 11:15 |
Amos compiler | nnever2000 | request.Apps | 3 | 06 September 2006 19:13 |
|
|