Difference between revisions of "Fs.list"

From ComputerCraft Wiki
Jump to: navigation, search
(Family Movie - Find the Right DVD Movie Club For Your Family)
(Undo revision 1967 by 91.121.27.33 (talk))
Line 1: Line 1:
Looking for a good online family movie club or family movie review?
+
{{lowercase}}
 +
{{Function
 +
|name=fs.list
 +
|args=[[string (type)|string]] path
 +
|api=fs
 +
|returns=[[table (type)|table]] list of files and folders in <var>path</var>, which must be a directory
 +
|desc=Returns a list of all the files contained in a directory, in table format
 +
|examples=
 +
{{Example
 +
|desc=Displays a list of all files and folders in the root directory of a computer
 +
|code=local FileList = fs.list("") --Table with all the files and directories available
 
   
 
   
Family movies sell lots of tickets at the box office and every year there are one or far more blockbuster movies that are family videos.
+
  for _,file in ipairs( FileList ) do --Loop. Underscore because we don't use the key, ipairs so it's in order
   
+
  print( file ) --Print the file name
But with the high price of movie tickets and theatre concessions, watching movies on DVD like a family movie night in the comfort of your respective unique place, is truly quickly becoming very popular.
+
  end --End the loop
+
 
Online DVD Movie Golf equipment
+
|output=A list of all files and folders in the root directory as a table. Note that fs.list() could also be inserted directly into ipairs() or pairs()
+
}}
Online there are a number of DVD movie night clubs that include family movies within their rental libraries, but only a number of actually specialize in providing good quality family fare.
+
}}
+
While other companies produce some family pictures, none seems to have come close to the huge library of movies that Disney seems to have provided us.
+
   
+
Walt Disney produced us Steamboat Willie in 1928 starring Mickey Mouse and in 1973, the Disney Studios gave us Snow Whitened, the first characteristic length animated movie.
+
+
Disney Movie Golf club
+
+
Online the Disney Movie Membership presents their signature classic movies, recent releases, preschool vids, sing-a-longer video tutorials in addition to other popular family choices.
+
+
Movie Clubs
+
+
Other online family movie golf equipment include Family Pass (formerly known when Mentura) which bills itself like "your solution to family entertainment." Family Pass carries a wide selection of movies, television packages, educational and property school video tutorials and spiritual fare. All targeted at a household audience.
+
+
Edited Movies
+
+
Another popular source of movies ideal for family viewing comes through companies that specialize in editing movies to get rid of profanity, excessive violence and much more adult situations.
+
+
Club people can rent the edited, version of popular movies that may otherwise become far fewer than family friendly.
+
+
Online night clubs that edit movies include CleanFilms, Flick'utes Team, Family Edited DVDs and CleanFlix to name a few.  
+
+
DVD Software program Filters
+
+
A company called ClearPlay offers DVD application that takes off graphic violence, profanity and a lot more adult situations. Movie filters are put together for particular movies and ClearPlay'ersus list continues to grow.
+
+
Family Movie Reviews
+
+
Online is also a great place to discover family movie review sites that will help parents when considering to deciding which movies to see in theatres or on DVD.
+
+
The Dove Foundation, extended a family group movie advocate, provides online movie and video recording reviews. And if you're out shopping for movies or dvds at your most loved store, you can search for the Dove Foundation's Seal of Approval (much like the "Good Housekeeping Seal of Approval"). The Dove Foundation's seal is only awarded to movies and vids that meet particular family viewing standards and have been screened and evaluated by Dove Foundation reviewers.
+
+
Other movie reviews available online include The Family Style Movie Guide, Movie Mom, Screen It!, Family Cow, Grading the Movies, Kids-In-Mind, and Ted Baehr's MovieGuide which examines and rates movies through a Christian value remain point.
+
+
Family Movie Night
+
+
Watching movies at place on DVD as a particular night for the entire family provides become very popular.
+
+
Exactly why devote a small fortune swallowing your family to see a movie at a theatre when you can have high quality fun time within your very own place? With a particular movie night you control the movies your family views. No far more unpleasant surprises! And also you also're certain the most effective seat inside your home.
+
+
DVD Movie Team
+
+
It's easy to join a helpful online movie golf club that offers movies for the family or better yet "specializes" in family movies and video tutorials.
+
+
So take a look at what's on the internet and join a family group movie golf club. Most offer a variety of special benefits to golf club users that make online golf club account very convenient and affordable.
+
+
Then select up some fabulous popcorn and some other treats and start the wonderful tradition of family movie night in your home, a tradition you and the kids will fondly remember for quite a few years to come.
+
+
And remember, some of the best and most popular movies of just about all time have been family movies.
+

Revision as of 19:45, 6 July 2012


Grid Redstone.png  Function fs.list
Returns a list of all the files contained in a directory, in table format
Syntax fs.list(string path)
Returns table list of files and folders in path, which must be a directory
Part of ComputerCraft
API fs

Examples

Grid paper.png  Example
Displays a list of all files and folders in the root directory of a computer
Code
local FileList = fs.list("") --Table with all the files and directories available

for _,file in ipairs( FileList ) do --Loop. Underscore because we don't use the key, ipairs so it's in order
  print( file ) --Print the file name
end --End the loop
Output A list of all files and folders in the root directory as a table. Note that fs.list() could also be inserted directly into ipairs() or pairs()