Difference between revisions of "MC-Basic:AttachTo$"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= AttachTo$ ''<task name> <element name>'' |AVAILABILITY= 0.4.15.5rc9 |DESCRIPTION= Attach the given element to the given task. Same funct...")
 
Line 4: Line 4:
  
 
|SYNTAX=
 
|SYNTAX=
AttachTo$ ''<task name> <element name>''
+
AttachTo$ ''<element name>'' File = <task name>
  
  
Line 15: Line 15:
  
 
|TYPE=
 
|TYPE=
<''task''>: String containing File specification, including file name and extension.<br>
+
<''task name ''>: String containing File specification, including file name and extension.<br>
 
<''element''>: Element specification can be axis, group or robit.<br>
 
<''element''>: Element specification can be axis, group or robit.<br>
  
 
|RANGE=
 
|RANGE=
<''task''>: The file must exist on the Flash Disk.<br>
+
<''task name ''>: The file must exist on the Flash Disk.<br>
  
 
|UNITS=
 
|UNITS=
Line 35: Line 35:
  
 
<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 43:
  
 
<pre>
 
<pre>
-->attachto ttt.prg a16
+
-->attachto   a16 File = ttt.prg
-->detachfrom ttt.prg a16
+
-->detachfrom a16 File = ttt.prg
 +
-->
 
</pre>
 
</pre>
  

Revision as of 09:58, 17 May 2016

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

Syntax

AttachTo$ <element name> File = <task name>

Availability

0.4.15.5rc9

Type

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

Range

<task name >: 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