shell.programs

Returns a list of all Programs in the Shellpath.

ExampleGet a List of all Progarms in the Shellpath
Get a List of all Progarms in the Shellpath and print it.
Code
<nowiki>
for k,v in ipairs(shell.programs()) do
  write(v.." ")
end
  </nowiki>
Output adventure alias apis bg cd chat clear copy delete dj drive edit eject emu exit fg gps h hello help id label list lua mkdir monitor move multishell paint pastebin peripherals programs reboot redirection redstone rename repeat set shell shutdown time type wget worm

shell.programs
Function
Syntax
shell.programs()
Returns table
API shell
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.