Re: [fpc-pascal] Why I?m choosing (Object) Pascal

2008-04-07 Thread Bee
Linux works (I did the port myself) but is still a bit rough on the deployment side, so they don't include it officially yet. And if linux works, the other platforms should work also (I took care of that during porting). Wow! That's really a great news! How did you do the port, using Lazarus? I

Re: [fpc-pascal] Why I?m choosing (Object) Pascal

2008-04-07 Thread Matt Emson
On 7 Apr 2008, at 20:07, Michael Van Canneyt wrote: On Mon, 7 Apr 2008, Ingemar Ragnemalm wrote: Linux works (I did the port myself) but is still a bit rough on the deployment side, so they don't include it officially yet. And if linux works, the other platforms should work also (I took care

Re: [fpc-pascal] Get & set IP Address

2008-04-07 Thread S.Anıl Yılmaz
Rainer Stratmann yazmış: Exists there system calls to get the IP address of a computers network card (eth0, eth1, ...) And to set the IP Adress? Rainer ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/list

Re: [fpc-pascal] Why I?m choosing (Object) Pascal

2008-04-07 Thread Michael Van Canneyt
On Mon, 7 Apr 2008, Ingemar Ragnemalm wrote: > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > > > > > After a month (a bit more) of writing the above post, I finally > > > > released it in my blog: > > > > http://idkn.wordpress.com/2008/04/06/why-im-choosing-object-pascal/

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

2008-04-07 Thread Inoussa OUEDRAOGO
2008/4/7, Bee <[EMAIL PROTECTED]>: > I'm new to Oracle. > > > > For a pipelined function, the syntax is : select * from table( sf() ) > > The other syntax ( 'select sf from dual' ) is for simple function , > > which returns single value. > > > > What's "pipelined function"? "select * from table(s

Re: [fpc-pascal] Why I?m choosing (Object) Pascal

2008-04-07 Thread ik
On Mon, Apr 7, 2008 at 7:04 PM, Ingemar Ragnemalm <[EMAIL PROTECTED]> wrote: > Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > > > > > After a month (a bit more) of writing the above post, I finally > > > > released it in my blog: > > > > http://idkn.wordpress.com/2008/04

Re: [fpc-pascal] Why I?m choosing (Object) Pascal

2008-04-07 Thread Ingemar Ragnemalm
Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > After a month (a bit more) of writing the above post, I finally > > > released it in my blog: > > > http://idkn.wordpress.com/2008/04/06/why-im-choosing-object-pascal/ > > Just one remark: > > Have a look at http://www.morfik.

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

2008-04-07 Thread Bee
I'm new to Oracle. For a pipelined function, the syntax is : select * from table( sf() ) The other syntax ( 'select sf from dual' ) is for simple function , which returns single value. What's "pipelined function"? "select * from table(sf())" seems to requires a table. Does an SF belong to a

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

2008-04-07 Thread Inoussa OUEDRAOGO
> BTW... 'select sf from dual' despite the syntax very common is still not > working, raising an unhandled AV. I think it's more than just syntax or > parsing problem. :( For a pipelined function, the syntax is : select * from table( sf() ) The other syntax ( 'select sf from dual' ) is for simpl

Re: [fpc-pascal] RSS?

2008-04-07 Thread Jonas Maebe
On 07 Apr 2008, at 16:01, M. Utku Karataş wrote: Is this mailing list also available in RSS?? http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/maillist.xml Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

[fpc-pascal] RSS?

2008-04-07 Thread M. Utku Karataş
Hi gents, Is this mailing list also available in RSS?? Thanks, Utku. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2008-04-07 Thread Bee
override TSQLConnection.StrToStatementType in TOracleCOnnection, and add it there. BTW... 'select sf from dual' despite the syntax very common is still not working, raising an unhandled AV. I think it's more than just syntax or parsing problem. :( -Bee- has Bee.ography at: http://beeography

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

2008-04-07 Thread Bee
override TSQLConnection.StrToStatementType in TOracleCOnnection, and add it there. I added this to oracleconnection.pp unit function TOracleConnection.StrToStatementType(s : string) : TStatementType; begin S:=Lowercase(s); if s = 'call' then exit(stSelect); result := inherited StrToStatem

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

2008-04-07 Thread Bee
No, because you would break other connection types. As I said, it's just for testing purpose and I don't use other connection type. But as far as I understand, it indeed doesn't work since stExecProcedure is never checked anyway. :( -Bee- has Bee.ography at: http://beeography.wordpress.com

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

2008-04-07 Thread Michael Van Canneyt
On Mon, 7 Apr 2008, Bee wrote: > > override TSQLConnection.StrToStatementType in TOracleCOnnection, and add it > > there. > > If I simply replace 'execute' with 'call' of StatementTokens constant within > sqldb unit, then recompile FPC and Lazarus, would it work? No, because you would break ot

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] fcl-db: oracle SP

2008-04-07 Thread Bee
override TSQLConnection.StrToStatementType in TOracleCOnnection, and add it there. If I simply replace 'execute' with 'call' of StatementTokens constant within sqldb unit, then recompile FPC and Lazarus, would it work? It's just for testing to make sure it works before going further. -Bee- h

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

2008-04-07 Thread Michael Van Canneyt
On Mon, 7 Apr 2008, Bee wrote: > > That sqldb doesn't return data from a stored procedure is probably > > because it only tries to fetch data if the query starts with 'select' or > > 'show'. I'll have to add 'call' to that list for Oracle and do some > > tests. > > Where can I add 'call' for Or

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

2008-04-07 Thread Bee
That sqldb doesn't return data from a stored procedure is probably because it only tries to fetch data if the query starts with 'select' or 'show'. I'll have to add 'call' to that list for Oracle and do some tests. Where can I add 'call' for Oracle? TIA. -Bee- has Bee.ography at: http://beeogr

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

2008-04-07 Thread Bee
Hey, his site is writen in PHP. :( That makes pascal (fpc's) web framework should be the first article from us. ;) -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

[fpc-pascal] Re : function now shows bad date (-2 hours)

2008-04-07 Thread T. Guilleminot
Got same issue. Problem on was my BIOS clock which were not at the correct time. This was hidden by the OS which showed correct hour (wrong timezone). Tom ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/l

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

[fpc-pascal] Get & set IP Address

2008-04-07 Thread Rainer Stratmann
Exists there system calls to get the IP address of a computers network card (eth0, eth1, ...) And to set the IP Adress? Rainer ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2008-04-07 Thread Coco Pascal
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 platforms - lazarus IDE - lazarus components - mobile programming (wince, symbian) - macOS support - web framew