Re: last line of a text file
Date: Tue, 2 Dec 2003 12:42:11 +0200
"Darius" <firstname.lastname@example.org> wrote in some message
Try something like this:
a : string;
c : textfile;
while not eof(c) do
Your last input into a would be your last line fo the textfile.
Now just write it to the file of your choice.
- Re: Should isHostMethod be added to the FAQ?
... with string comparison has come up before and on one occasion testing ... var someTemp; ... someTemp = regExp.test; ...
- Re: String returned from TMenuItem.Caption
... AlanGLLoyd wrote: ... function RemoveAmpersand(ACaption: string): string; ...
- Re: Trying to understand TFileStream
... The strings aren't being saved to the file, ... StrLen: longword; ...
- Re: Identify if a scalar is int, double or text
... another in rather sneaky ways - as the following ... my $string = '7'; ... my $var = ~0; ...
- Re: Need a DataGridViewComboBoxColumn
... a DataGridView control and some buttons and label controls. ... In addition I have a class called FileManger where I handle all things that has to do with the textfile. ... I add all created DataColumn to my DataTable. ... I have a column in the DataTable that is called Type which is of type string as you can see. ...