in reply to A question About Array Indexing
... words logic ... input file looks like this: 0000000NNNN00NNN0NNN0N0N0NN0N
But but but open (INTERVAL ... open(MASK so what is input?!
Sorry, I'm lazy
Also I do
understand 1) If one has an array
??understand?? 2) can you assign its length
??understand?? 3) at any given index position
understand 4) to a scalar variable
2-3 don't make sense. Array has one length (its size), it doesn't change based on index position; So yes, I'm sure it is possible but i'm not sure what it is.
I know I'm not thinking clearly at the moment, but I also know you're not thinking (communicating) clearly at the moment. You could clarify yourself by asking like this
my @interval = ( 1,2,3,4); ## WHATEVER, 2-5 lines of representative data
my @positions = (qw/ a b q q/); ## ... 2-5 ...
my @info = ( 6,7 ) ; ## ... 2-5 ... representative
and then explain what you want that you're not getting (in terms of @interval/@positions/@info real representative values). If @positions is wrong, or @info is wrong, or its the next part thats wrong ....
show some real representative numbers , like boundary conditions (min/max allowed values), so that logic can be inferred/guessed
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A question About Array Indexing
by ccelt09 (Sexton) on Aug 26, 2013 at 22:55 UTC | |
by BrowserUk (Patriarch) on Aug 26, 2013 at 23:57 UTC | |
by ccelt09 (Sexton) on Aug 27, 2013 at 01:23 UTC | |
by AnomalousMonk (Archbishop) on Aug 27, 2013 at 02:00 UTC | |
by BrowserUk (Patriarch) on Aug 27, 2013 at 08:25 UTC | |
by bioinformatics (Friar) on Aug 27, 2013 at 01:29 UTC | |
by ccelt09 (Sexton) on Aug 27, 2013 at 02:06 UTC |