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...")
 
 
(One intermediate revision by one other user 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 name> <element name>''
+
AttachTo$ ''<element name>'' File = <task name>
  
  
Line 15: Line 16:
  
 
|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 36:
  
 
<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 06:10, 17 April 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 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