program yourprogram;
{$mode objfpc}{$H+}
uses
Classes, SysUtils;
var
st: text;
s: string;
begin
assign(st,'');
reset(st);
while not eof(st) do begin // --- iterate while not en of file
readln(st,s); //<<< read only a line
writeln(s);
end;
close(st); // <---
end.
--
At
Dear,
Yes. Output already is the default and can be ommited.
--
Att,
Wanderlan Santos dos Anjos
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
FPC List:
I am a Programmer of a few languages. I can't seem to think of much to
write. I'm wondering if others, could tell me what you have
written..to give me a few ideas..so I may write more osftware...and
learn to be a better developer?
--
*-With the power to be evil, comes the responsibilit
> I want to use IPC Shared Memory mecanism to enable communication between
> Linux processes. I followed doc example
> (http://community.freepascal.org:1/docs-html/rtl/ipc/shmctl) which
> works fine.
> However I'm unable to find how the handle multiple variables (or may be
> an array).
Stu
How to target linux, bsd, and cPanel with Delphi on Windows.. using magic..
http://z505.com/videos/d5/linux-delphi-webapp.htm
Mirror:
http://iknow.z505.com/vid/linux-delphi-webapp.htm
Maybe a friend/competitor to the CrossFPC project. But with more of a focus on
server, web development, and conso
Leonardo and I have been working on structuring together some notes and docs for
fcl-db and sqldb. I am not as experienced with sqldb yet but as I have more time
there will be more notes added.
http://z505.com/cgi-bin/powtils/docs/1.6/idx.cgi?file=fcldbnotes
An interface view is also available:
h
L wrote:
Leonardo and I have been working on structuring together some notes and docs for
fcl-db and sqldb. I am not as experienced with sqldb yet but as I have more time
there will be more notes added.
http://z505.com/cgi-bin/powtils/docs/1.6/idx.cgi?file=fcldbnotes
An interface view is also a
Hi Lars,
>
> http://z505.com/cgi-bin/powtils/docs/1.6/idx.cgi?file=fcldbnotes
>
Where do I get a Doc ID to edit those pages? There are loads of
spelling and grammar mistakes I would like to fix. Oh btw, 'Remember'
is still spelled incorrectly in that page I mentioned before. :)
Regards,
- G