![]() |
|
#1
|
|||
|
|||
|
Hi everybody ,
I am a very new user of delphi (only 3 weeks ) and I need hlep for a problem that I have with my code. I have a csv file with some data which I converted it into a string and then to an array. So I imported the values of my array in my function and it is working petros1 := GetPetros (Garray1[1,0],Garray1[2,0],Garray1[3,0],Garray1[4,0],Garray1[5,0] ); which takes the values of the first row and returns me a value. Now I want to repeat that for all rows and I have a problem doing it. |
|
#2
|
|||
|
|||
|
The next link contains two ways of doing it. If the text file is big (> 1MB) use the first function (GrabLine), otherwise use the second function (GrabLine2) simply because it is short.
http://www.swissdelphicenter.ch/en/showcode.php?id=1628
__________________
Regards, Abdulaziz Jasser Last edited by Jasser; 07-15-2012 at 05:51 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|