Re: [fpc-pascal] FPC scripting suport

2008-05-28 Thread Leonardo M. Ram�
I use JVInterpreter from JEDI with very good results in Delphi. It allows you to write from simple functions to complete programs using procedural and object oriented programming, also one can share objects between the application and the script. Does anyone ported it to FPC? Leonardo M. Ramé

Re: [fpc-pascal] Rtf to HTML

2008-05-12 Thread Leonardo M. Ram�
I know rtf2html, the problem is it works with file (infile outfile). And I need one that works with strings as params. Also it must work on windows. --- Damien Gerard <[EMAIL PROTECTED]> wrote: > > Le May 12, 2008 à 8:34 PM, Leonardo M. Ramé a écrit : > > > Hi, does anyone knows a good Rtf

[fpc-pascal] Rtf to HTML

2008-05-12 Thread Leonardo M. Ram�
Hi, does anyone knows a good Rtf To HTML converter for FPC/Delphi? I need one that accept strings/streams, not files. Leonardo M. Ramé http://leonardorame.blogspot.com Be a better friend, newshound, an

Re: [fpc-pascal] Pointers in Pascal!!

2008-04-29 Thread Leonardo M. Ram�
You can assign "nil" to the pointer before using it, then check if PStruct = nil it wasn't created. Leonardo. --- Zaka E-Lab <[EMAIL PROTECTED]> wrote: > I have something like this: > > PStruct = ^Struct; > Struct = record > num: integer; > end; > > I have a unit to ha

Re: [fpc-pascal] ann: new pascal magazine

2008-04-07 Thread Leonardo M. Ram�
Of course, just read the magazine and found anyone can contact them to publish an article. Maybe Lars can ask them to publish one of his own about Powtils. Leonardo. --- Bee <[EMAIL PROTECTED]> wrote: > > Hey, his site is writen in PHP. :( > > That makes pascal (fpc's) web framework should be

Re: [fpc-pascal] ann: new pascal magazine

2008-04-07 Thread Leonardo M. Ram�
Hey, his site is writen in PHP. :( --- Coco Pascal <[EMAIL PROTECTED]> wrote: > Bee schreef: > > Hi all, > > > > There is a new pascal magazine at http://www.blaisepascal.eu/ > > > > It might a good place to promote FreePascal and its technologies, e.g. > > > > - fpc features and supported platfo

Re: [fpc-pascal] fcl-db: oracle SP

2008-04-04 Thread Leonardo M. Ram�
> > Using fcl-db aka sqldb, how to call oracle's stored procedure through > > toracleconnection? So far, google can't help me much. :( Or is there a > > special component to handle stored procedure as in Delphi? TIA. Untested: If your stored procedure returns a recordset simply do: query

Re: [fpc-pascal] MySQL insert, load data

2008-02-15 Thread Leonardo M. Ram�
Try this: q.SQL.Clear; q.Add('LOAD DATA INFILE ''data.txt'' INTO TABLE database.my_table;'); q.Execute; // <-- I don't remember the correct command right now Leonardo --- Wolfram Kläger <[EMAIL PROTECTED]> wrote: > Ok. First one was simple. Keyword and opening bracket must be separated > by a

Re: [fpc-pascal] Patch for testsqldb

2007-11-15 Thread Leonardo M. Ram�
> Thanks for the patch, applied in r 9261. I completely forgot that this > example exists. I see that I'll hate to add the several mysqlversions > and oracle also. > > Joost. Thanks for applying the patch, I found the example in the 2.2.0 sources when trying to understand how to work with FCL-Db

[fpc-pascal] Patch for testsqldb

2007-11-14 Thread Leonardo M. Ram�
The attached file is a small patch for testsqldb.pp located at /fpc/trunk/packages/fcl-db/sqldb/ The patch adds sqlite3 database to the example. P.S.: This is the only way to send a patch? Leonardo M. Ramé http://leonardorame.blogspot.com __