Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by gepop

  1. gepop

    Copying an array

    thank you!
  2. gepop

    Copying an array

    $num_pag=<STDIN>; for ($i=0;$i<$num_pag*3;$i++) { @rif=int(rand $num_pag*2) +1; } @array2=@rif[0..3]; print @array2 ," \n"; this is the code.
  3. gepop

    Copying an array

    Hi to all, i just would copy the first n elements of an array into another. I initialize the first in a for loop, but when i go out of the loop it disappear. For what reason? i tried so many manners, but i didn't get it. Do you have any idea?

Part and Inventory Search

Back
Top