===== ThrowError (Statement) ===== ==== Format ==== **throwerror** //int_expr//\\ **throwerror** ( //int_expr// )\\ ==== Description ==== Cause a runtime error to occour. These errors may be trapped with the [[Onerror|Onerror]] statement. ==== Example ==== onerror errortrap print "before error" throwerror 99 print "after error" end errortrap: print "error " + lasterror + " happened" return will display\\ before error error 99 happened after error ==== See Also ==== {{page>en:start#Error Handling&noheader}} ==== History ==== |0.9.6.75|New To Version| |1.99.99.33|Removed the ability to use a subroutine in an onerror trap.|