|
Prev: Lesson 8, Structures, Unions, Fields, Pointers to Structures, Enums (Don't worry, Be happy: VS IDE 2008: WORSE CRAP than D2007 IDE :))
Next: A question about structures
From: Skybuck Flying on 18 Apr 2008 22:41 Hello, For testing purposes and maybe even development purposes it might be handy to let the compiler try compiling some sections of code, if it fails compiling those sections, the compiler will just continue after the "TryCompileOnFailure" block. The compiler might even set some pre-defined variables in program code so good code at on failure might display compile failures... could be interesting for test code. So for example a new compiler block or syntax might be used for example: TryCompileBegin SomePossiblyFaultyCode TryCompileOnFailure WriteStrings( CompileFailureMessages ); TryCompileEnd Bye, Skybuck. |