multishell.getCurrent
| multishell.getCurrent Function  | |
|---|---|
| 
Syntax multishell.getCurrent()  | |
| Returns | number ID | 
| API | multishell | 
| Source | CC:Tweaked (source) | 
Returns the ID of the current Tab.
  | 
  |||
| Get the current Tab ID and print it. | |||
| Code | <nowiki>
print(multishell.getCurrent())
    </nowiki>
 | 
    ||
| Output | 1
 | 
    ||
Functions  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lua | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CC:Tweaked | 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
    This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.