Difference between revisions of "MC-Basic:AttachTo"

From SoftMC-Wiki
Jump to: navigation, search
(Fixed example)
 
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:AttachTo}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 44: 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