Difference between revisions of "MC-Basic:THROW"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Throw {''<error name>}'' |AVAILABILITY= All versions |DESCRIPTION= Assert an application exception. Error name is the user-defined exception …')
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:THROW}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 36: Line 37:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER]]
+
* [[MC-Basic:COMMON_or_DIM_SHARED_var_name_AS_NOTE_or_ERROR_ascii_number|COMMON or DIM SHARED var name AS NOTE or ERROR ascii <NUMBER>]]
 
 
  
 +
[[Category:MC-Basic:Error Handling|THROW]]
 
}}
 
}}

Latest revision as of 09:06, 2 May 2017

Language: English  • 中文(简体)‎

Assert an application exception. Error name is the user-defined exception name. If error name is not specified, last error occurring in the task will be asserted.

Syntax

Throw {<error name>}

Availability

All versions

Scope

Task or Terminal

Limitations

Only the exception name is accepted as the argument.

Examples

Throw myerror

Throw

See Also