Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Fun with two-dimensional arrays

by suaveant (Parson)
on Aug 09, 2001 at 21:00 UTC ( [id://103499]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for my $x (0..21) {
      for my $y (0..79) {
         do_stuff($vscr[$x][$y]);
      }
    }
    
  2. or download this
    for my $x (0..$#vscr) {
      for my $y (0..$#{$vscr[$x]}) {
         do_stuff($vscr[$x][$y]);
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://103499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-16 07:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found