AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.SetErrorMode Method

Sets the error mode for the AGK from ignore, report, or stop from AGK commands.

Syntax
Pascal
class procedure SetErrorMode(const ErrorMode: TAgkErrorMode); static;
Parameters 
Description 
const ErrorMode: TAgkErrorMode 
the error mode to set (see Remarks). 

emIgnore will make the AGK attempt to carry on, ignoring the entire command if necessary. emReport will make the AGK report the error to an appropriate debug console and carry on. emStop will force the AGK to report the error as before and then stop by raising an exception, which must be caught or the app will terminate.

Copyright (c) 2012. All rights reserved.