disk.getAudioTitle
Returns the title from a music disk in the given disk drive. Returns false, if there is no music disk in the disk drive.
|
|||
Print the title of the music disk in the top drive. | |||
Code | print(disk.getAudioTitle("top"))
|
||
Output | C418 - ward |
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
disk.getAudioTitle Function | |
---|---|
Syntax disk.getAudioTitle(
| |
Returns | string title |
API | disk |
Source | CC:Tweaked (source) |
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.