CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
Findin indivdual value in an arrays

 



robinantill
Deleted

Oct 20, 2000, 3:52 PM

Post #1 of 2 (2271 views)
Findin indivdual value in an arrays Can't Post

How to I find out the value in each element in an array using a PRINT statement i.e.

html
for($x=0;$x<$count Wink
{
print "number $x",$results[$count],br,br;
$x++;
}
html

This only produces each row of information.


@results This has 7 columns by (say) 12 rows down.

ao,a1,a2,a3,a4,a5,a6,a7
b0,b1,b2,b3,b4,b5,b6,b7

etc. I assume this is how each set of information is called.




slavdaddy
Deleted

Nov 4, 2000, 2:58 PM

Post #2 of 2 (2271 views)
Re: Findin indivdual value in an arrays [In reply to] Can't Post

I'm not sure I understand what you are trying to do. If you are just trying to get one value of your array, nad you know how to use $array[$index] syntax, what is the problem? I'm not trying to be a smartass, I just don't get what you are asking.
-Corey

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives