Difference between revisions of "AMOSi:Assign"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
(fixed the Assign (missed identation in original helpfile))
 
Line 5: Line 5:
  
  
Assign "Disc_Name:" To "Path:Name/"<br />
+
<code><pre>
 +
Assign "Disc_Name:" To "Path:Name/"
 +
</pre></code>
  
  

Latest revision as of 23:29, 19 November 2007

an example can be found on AMOSPro_Examples:Examples/H-4/Help_45.AMOS


Assigns a general name to a folder or device just like the normal AmigaDos ASSIGN instruction.


Assign "Disc_Name:" To "Path:Name/"


"Disc_Name:"


Holds a string with the name of the assigned disc to create. The semi-colon is mandatory and no spaces are allowed.


"Path:Name/"


This must be a valid pathname to either a directory or a file.