Taylorswift13 has asked for the wisdom of the Perl Monks concerning the following question:
Hi i am a new programmer!
I have 2 columns it doesn't start till 5 this is because 1-4 are zero and it doesn't end till 3million but it is meant to end at 3 million and 50 meaning the last 50 values are also zero
eg
number 5 then tab is assigned value 6,
number 6 then tab is assigned value 7,
number 7 then tab is assigned value 0,
number 3000000 then tab is assigned value 3,
How do i fill in the list to make it start at zero and end on 3000050 with every value in between filled in.
It would also be good to check i have a value for every number.
I am willing to learn so even if you can point me in the right direction that would be useful thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Completing a list/ array?
by moritz (Cardinal) on Nov 12, 2011 at 12:04 UTC | |
Re: Completing a list/ array?
by johngg (Canon) on Nov 12, 2011 at 12:27 UTC | |
by Taylorswift13 (Novice) on Nov 12, 2011 at 15:22 UTC | |
by CountZero (Bishop) on Nov 12, 2011 at 15:53 UTC | |
by Taylorswift13 (Novice) on Nov 12, 2011 at 16:41 UTC | |
by CountZero (Bishop) on Nov 12, 2011 at 18:22 UTC | |
by aaron_baugher (Curate) on Nov 12, 2011 at 17:18 UTC | |
by Taylorswift13 (Novice) on Nov 12, 2011 at 17:41 UTC | |
by Not_a_Number (Prior) on Nov 12, 2011 at 18:38 UTC | |
| |
by aaron_baugher (Curate) on Nov 12, 2011 at 18:36 UTC | |
Re: Completing a list/ array?
by Anonymous Monk on Nov 12, 2011 at 11:14 UTC |
Back to
Seekers of Perl Wisdom