===== ThrowError ===== ==== Format ==== **throwerror** ( //integer// )\\ **throwerror** //integer// ==== 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 subroutine errortrap() print "error " + lasterror + " happened" end subroutine will display\\ before error error 99 happened after error ==== See Also ==== [[errorcodesconstants|Error Codes]], [[Lasterror|Lasterror]], [[Lasterrorextra|Lasterrorextra]], [[Lasterrorline|Lasterrorline]], [[Lasterrormessage|Lasterrormessage]], [[Offerror|Offerror]], [[Onerror|Onerror]] ==== New To Version ==== 0.9.6.75