Difference between revisions of "MC-Basic:AttachTo"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= AttachTo ''<task> <element name>'' |AVAILABILITY= 0.4.15.5rc9 |DESCRIPTION= Attach the given element to the given task. Same functionali...")
 
(Fixed example)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:AttachTo}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
AttachTo ''<task> <element name>''
+
AttachTo ''<element name> File = <task>''
  
  
Line 30: Line 31:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Is not executed if the <''task''> has started.
+
 
  
 
|EXAMPLE=
 
|EXAMPLE=
  
 
<pre>
 
<pre>
-->attachto$ "ttt.prg"  a16
+
-->attachto   a16 File = ttt.prg
-->detachfrom$ "ttt.prg"  a16
+
-->detachfrom a16 File = ttt.prg
 
-->
 
-->
 
</pre>
 
</pre>
Line 43: Line 44:
  
 
<pre>
 
<pre>
-->attachto ttt.prg a16
+
-->attachto$  a16 File = "ttt.prg"
-->detachfrom ttt.prg a16
+
-->detachfrom$ a16 File = "ttt.prg"
 
</pre>
 
</pre>
  

Latest revision as of 17:06, 18 December 2017

Language: English  • 中文(简体)‎

Attach the given element to the given task. Same functionality as ATTACH but from external context.

Syntax

AttachTo <element name> File = <task>

Availability

0.4.15.5rc9

Type

<task>: File specification, including file name and extension.
<element>: Element specification can be axis, group or robit.

Range

<task>: The file must exist on the Flash Disk.

Scope

Task or Terminal

Examples

-->attachto   a16 File = ttt.prg
-->detachfrom a16 File = ttt.prg
-->

or

-->attachto$   a16 File = "ttt.prg"
-->detachfrom$ a16 File = "ttt.prg"

See Also