Re: [fpc-pascal] HOW TO, PROBLEM read stdin (linux) ??

2007-11-25 Thread Wanderlan Santos dos Anjos
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

Re: [fpc-pascal] How to send stdout pipe to a process ?

2007-11-25 Thread Wanderlan Santos dos Anjos
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-pascal] Query

2007-11-25 Thread Bobby Walters
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

Re: [fpc-pascal] IPC/SHMGET and Multiple Variables

2007-11-25 Thread Marco van de Voort
> 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

[fpc-pascal] Delphi + FPC + HTTP + Magic = ?

2007-11-25 Thread L
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

[fpc-pascal] FCL-DB/SQLDB docs started

2007-11-25 Thread L
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

Re: [fpc-pascal] FCL-DB/SQLDB docs started

2007-11-25 Thread John
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

Re: [fpc-pascal] FCL-DB/SQLDB docs started

2007-11-25 Thread Graeme Geldenhuys
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