Re: Incorporating run-time error handline in code generation

"R. L. Watkins" <RLWatkins@CompuServe.Com>
22 Dec 2001 22:55:15 -0500

          From comp.compilers

Related articles
Incorporating run-time error handline in code generation jdm1intx@DIE_SPAMBOT_DIEairmail.net (jdm) (2001-12-20)
Re: Incorporating run-time error handline in code generation RLWatkins@CompuServe.Com (R. L. Watkins) (2001-12-22)
| List of all articles for this month |
From: "R. L. Watkins" <RLWatkins@CompuServe.Com>
Newsgroups: comp.compilers
Date: 22 Dec 2001 22:55:15 -0500
Organization: Compilers Central
References: 01-12-106
Keywords: errors
Posted-Date: 22 Dec 2001 22:55:15 EST

I can't speak for earlier Microsoft BASIC versions, which among other things
had no 'Err' object.


Starting with VB5 the 'Err' object is part of the library and the control
transfers set up by an 'On Error Goto' statement generate the same sort of
code as exception handling in C++. (And the same sort of stack frames,
etc.)


This was established by examining compiled VB code using DevStudio's
disassembler.


R. L. Watkins


> For example, the various flavors of Microsoft Basics have the "On
> Error Goto" construct and the Err object. How much of that is part of
> the runtime library, and how much is part of code generation ? Is
> there a website or book that has more comprehensive information on
> this subject?


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.