davorg,
Thanks for the reply. I am sending you an example of the data that I am looking to read from a file into the array. WHat I am looking for is a list of blocks, each block has a list of vertices, and each vertex has 4 values. I am also looking for a way to "check" off blocks once I have written them, and the same for the vertices. Anyway, I am really looking for a structure of a list of blocks, which contain a list of vertices (each block has a different number of vertices) and then each vertex contain four seperate values. Thanks for your help.
1
455.462708
1026.615005
2
428.309624
1073.409507
3
730.386784
1248.693485
4
757.539868
1201.898982
5
455.462708
1026.615005
88888
6
367.834421
1038.319919
7
340.681337
1085.114421
8
642.758497
1260.398399
9
669.911581
1213.603896
10
367.834421
1038.319919
88888
11
260.028495
1812.352286
12
294.596155
1793.896502
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.