avijitjana77
New member
- Joined
- Apr 17, 2010
- Messages
- 1
- Programming Experience
- Beginner
Dear All
I am trying to Read the text file line by line and also want to
store the data with specific structure for calculation.
Basically its a Coma(,) Delineated text string following a specific paten.
**********************************************************************************
HALGN,INTERCHANGE,INTERCHANGE
300,LB=MC00,TL=0.100000,CE=0.00,CT=0.00,ME
305,SC=0.000000,CF=0.000000
301,1,SX,X1=227031.459646,Y1=486428.725763,X2=227074.015638
305,Y2=486494.092347
301,2,LL,X1=226980.282807,Y1=486635.628160,RA=-92.500000
303,215.722705
999
**********************************************************************************
Concept Work flow with my understanding
1st it should match the Word "HALGN" then it will store the
INTERCHANGE & INTERCHANGE to a structure.
2nd it should Try the Word "300" and read MC00 ,0.1000, etc to a
Structure.
3rd "305" mean the continuation of previous (300 ) Data set line.
4th "301" is the starting of Element (line ) 1 with start (X1,Y1) and End
(X2,Y2) point
5rd "305" mean the continuation of previous (301 ) Data set line.
so on
"999" End of the "HALGN" option.
---------------------------------***********************----------------------------------------
I am new to VB.Net .Please ask me for any clarification.
Any Help / Guidance will be highly appreciable.
Regards
Avijit Jana
I am trying to Read the text file line by line and also want to
store the data with specific structure for calculation.
Basically its a Coma(,) Delineated text string following a specific paten.
**********************************************************************************
HALGN,INTERCHANGE,INTERCHANGE
300,LB=MC00,TL=0.100000,CE=0.00,CT=0.00,ME
305,SC=0.000000,CF=0.000000
301,1,SX,X1=227031.459646,Y1=486428.725763,X2=227074.015638
305,Y2=486494.092347
301,2,LL,X1=226980.282807,Y1=486635.628160,RA=-92.500000
303,215.722705
999
**********************************************************************************
Concept Work flow with my understanding
1st it should match the Word "HALGN" then it will store the
INTERCHANGE & INTERCHANGE to a structure.
2nd it should Try the Word "300" and read MC00 ,0.1000, etc to a
Structure.
3rd "305" mean the continuation of previous (300 ) Data set line.
4th "301" is the starting of Element (line ) 1 with start (X1,Y1) and End
(X2,Y2) point
5rd "305" mean the continuation of previous (301 ) Data set line.
so on
"999" End of the "HALGN" option.
---------------------------------***********************----------------------------------------
I am new to VB.Net .Please ask me for any clarification.
Any Help / Guidance will be highly appreciable.
Regards
Avijit Jana