Hi,
        Lists are generally used when one has a lot of similar or same data for
different entities, For example,
Consider you are making a program where you are taking 1000 peoples ages and
then finding the average. Here a list would greatly simplify the job as you
would have one variable for eg age and age[1] would represent the first
persons age and age[2] the second persons age. If this was done without
conventional variables one would require 1000 different variables to store
all their ages.just imagine if you are using their names or addresses along
with
ages that would work out to a staggering 3000 variables. So we just have 3
lists age,name,address here age[1] corresponds to name[1] and address[1], so
if you have 1000 people you would access the first persons info with
name[1],age[1],address[1]. it makes it far more convenient.
        For what its worth my two cents.

Vijay
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of ulaganathan
karthick
Sent: Wednesday, January 16, 2002 9:38 AM
To: [EMAIL PROTECTED]
Subject: <lingo-l> Regarding Lists


Hi,
Can anybody please explain, where to use Lists.
-Karthick-

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to