Difference between revisions of "Help.path"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=help.path |args= |api=help |returns=string path of help API |addon=ComputerCraft |examples= {{Example |desc=Prints the current...")
 
Line 6: Line 6:
 
|returns=[[string (type)|string]] path of help API
 
|returns=[[string (type)|string]] path of help API
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 +
|desc=Prints the current path for the help API
 
|examples=
 
|examples=
 
{{Example
 
{{Example

Revision as of 14:39, 29 May 2012


Grid Redstone.png  Function help.path
Prints the current path for the help API
Syntax help.path()
Returns string path of help API
Part of ComputerCraft
API help

Examples

Grid paper.png  Example
Prints the current path for the help API
Code
print(help.path())
Output /rom/help