Difference between revisions of "MC-Basic:UNBREAKABLE"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= UnBreakable = <''expression''> |AVAILABILITY= Versions 3.7.x and higher |DESCRIPTION= Used for critical I/O Terminal user programs that shoul…')
 
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:UNBREAKABLE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 7: Line 8:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Versions 3.7.x and higher
+
Since Version 3.7.x
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 19: Line 20:
 
Unbreakable<>0  avoids breaking(stopping) task, Unbreakable=0  permits this.
 
Unbreakable<>0  avoids breaking(stopping) task, Unbreakable=0  permits this.
  
''UnBreakable task may stop due to runtime error. ''
+
{{Note/Important|UnBreakable task may stop due to runtime error.}}
  
 
+
;Return Value:     none
 
 
Return Value:     none
 
  
 
|TYPE=
 
|TYPE=
Line 47: Line 46:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:task.UNBREAKABLE|task.UNBREAKABLE]]
+
* [[MC-Basic:task.UNBREAKABLE|task.UNBREAKABLE]]
  
 +
[[Category:MC-Basic:Task Control|UNBREAKABLE]]
  
 
}}
 
}}

Latest revision as of 09:54, 2 May 2017

Language: English  • 中文(简体)‎

Used for critical I/O Terminal user programs that should not be stopped in any circumstances. Avoids breaking (stopping) task, ignoring the task-control commands:
       KILLTASK
       IDLETASK
       STEPIN
       BREAKPOINT
       UNLOAD

Unbreakable<>0  avoids breaking(stopping) task, Unbreakable=0  permits this.

IMPORTANT.svgIMPORTANT
UnBreakable task may stop due to runtime error.
Return Value
     none

Syntax

UnBreakable = <expression>

Availability

Since Version 3.7.x

Type

Long

Range

0 to MaxLong

Scope

Task

Limitations

Write Only

Examples

UnBreakable = 1

See Also