Getlastrunruntimeerror() – BrightSign BrightScript 3.0 Reference Manual User Manual

Page 57

Advertising
background image

52

GetLastRunRuntimeError()

GetLastRunRuntimeError() As Integer


This function returns the error code that resulted from the last

Run() function.


These codes indicate a normal result:

&hFC: ERR_NORMAL_END

&hE2: ERR_VALUE_RETURN

&hE0: ERR_NO_VALUE_RETURN


The following codes indicate common runtime errors:

&hE9: ERR_USE_OF_UNINIT_VAR

&h14: ERR_DIV_ZERO

&h18: ERR_TM

&hF4: ERR_RO2

&hEC: ERR_RO4

&h2: ERR_SYNTAX

&hF1: ERR_WRONG_NUM_PARAM

Advertising