Difference between revisions of "Disk.getMountPath"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=disk.getMountPath |args=string side |api=disk |returns=string path |addon=ComputerCraft |examples= {{Example |desc=Finds t...")
 
Line 2: Line 2:
 
{{Function
 
{{Function
 
|name=disk.getMountPath
 
|name=disk.getMountPath
|args=[[string]] side
+
|args=[[string (type)|string]] side
 
|api=disk
 
|api=disk
 
|returns=[[string (type)|string]] path
 
|returns=[[string (type)|string]] path

Revision as of 12:12, 26 February 2012


Grid Redstone.png  Function disk.getMountPath
No description provided.
Syntax disk.getMountPath(string side)
Returns string path
Part of ComputerCraft
API disk

Examples

Grid paper.png  Example
Finds the path of the bottom disk drive
Code
print(disk.getMountPath("bottom"))
Output disk