Line support for OnError

Everything else that doesn't fall into one of the other PB categories.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Line support for OnError

Post by Polo »

What does this feature actually do to the generated asm code ?
I realized I had left that option enabled in my project, when I deleted it the exe was 35kB smaller :shock:
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

I think it adds some indexes to the code so that the faulty command can be shown by the line-number in your source code.
Tranquil
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I think at the beginning of each compiled line it puts the line number into a memory location with a simple move operation. It would use less space with a table, but wouldn't be as simple to code. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply