Re: [fpc-pascal]SQLITE with FPC

2003-08-15 Thread James Mills
On Tue, Aug 12, 2003 at 09:12:37AM +0200, Michael Van Canneyt wrote: > > > On Tue, 12 Aug 2003, James Mills wrote: > > > On Wed, Aug 06, 2003 at 07:18:33PM +0200, Jilani Khaldi wrote: > > > Hi All, > > > could someone point me where to find the sqlite.pas for FP to use with > > > Linux Linux? >

Re: [fpc-pascal](no subject)

2003-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote: > What is the difference between > --- /usr/lib/fpc/1.0.6/units/linux/ibase/ibase60.ppu > and > --- /usr/lib/fpc/1.0.6/units/linux/fcl/interbase.ppu > ? > What can i use better? ibase60 is the low-level C api. 'interbase' contains a TDatas

[fpc-pascal](no subject)

2003-08-15 Thread Balázs Csaba
Title: Üzenet What is the difference between ---  /usr/lib/fpc/1.0.6/units/linux/ibase/ibase60.ppuand ---  /usr/lib/fpc/1.0.6/units/linux/fcl/interbase.ppu ? What can i use better? How can I download documentation for each?   #Tsch : Balázs Csaba  

RE: [fpc-pascal]win32 server socket problem

2003-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote: > Ok, fine! > > So i can replace procedures that can use textfiles to use recv/send and > select(). I am trying now... GOOD! > > Thx! > > Is select() existing in win32 platform? It should exist in the winsock unit, I think. It's definitely i

RE: [fpc-pascal]win32 server socket problem

2003-08-15 Thread Balázs Csaba
Ok, fine! So i can replace procedures that can use textfiles to use recv/send and select(). I am trying now... GOOD! Thx! Is select() existing in win32 platform? #Tsch : Balázs Csaba > > > > On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote: > > > Yes, maybe it is a text file problem, b

RE: [fpc-pascal]win32 server socket problem

2003-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote: > Yes, maybe it is a text file problem, but I cannot solve it. Did somebody > make same program on win32? > Could I try it with recv(), send()? In this case how can i detect the end of > communication? Normally, with select() you can determi

Re: [fpc-pascal]A couple of easy questions on clsses

2003-08-15 Thread Matt Emson
> It depends what you mean with 'static'. In classes, the term 'static' > has no defined meaning. You have 'normal' methods (where SELF is > defined) and class methods (where SELF is not defined). Note also that Class Methods kind of act as if they are external to the class - like tacked on proce

RE: [fpc-pascal]win32 server socket problem

2003-08-15 Thread Balázs Csaba
Yes, maybe it is a text file problem, but I cannot solve it. Did somebody make same program on win32? Could I try it with recv(), send()? In this case how can i detect the end of communication? #Tsch : Balázs Csaba > > > I found a problem at night, and ia cannot solve it in 5 hours. > > > > I w

Re: [fpc-pascal]win32 server socket problem

2003-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2003, [iso-8859-2] Balázs Csaba wrote: > I found a problem at night, and ia cannot solve it in 5 hours. > > I wrote the simple server side on linux (socket, bind, listen accept). I > connect to this server with a simple Delphi5 client on port 2001 (i tried > any other). The "w

Re: [fpc-pascal]A couple of easy questions on clsses

2003-08-15 Thread Michael Van Canneyt
On Fri, 15 Aug 2003, Aitor [ISO-8859-1] Santamaría Merino wrote: > [EMAIL PROTECTED] wrote: > > >>The syntax diagrams of classes show that a method can be preceded by the > >>keyword "class" (and I failed to find where it is explained what for?), > >>but does not seem to admit this keyword befor

Re: [fpc-pascal]A couple of easy questions on clsses

2003-08-15 Thread Matt Emson
Written in Delphi, so use Delphi compatibility mode when testing in fpc program TestStatic; uses sysutils; type Test = class public class function TestValue( x: integer = -1): integer; //unless you pass a value, returns static value. If pass value, returns new value. end; { Test }

[fpc-pascal]win32 server socket problem

2003-08-15 Thread Balázs Csaba
Title: Üzenet I found a problem at night, and ia cannot solve it in 5 hours.   I wrote the simple server side on linux (socket, bind, listen accept). I connect to this server with a simple Delphi5 client on port 2001 (i tried any other). The "while (not eof(sin))" stops and waits for the