[fpc-pascal] serial rs232 comms

2006-03-08 Thread ezra
Hi Group I am new to FPC i would like to know how to use the port option or similiar that exists in TP in FPC environment if it exists and can i use interrupt requests directly from FPC I thank you for your cooperation and consideration Ezy ___ fp

[fpc-pascal] TClientDataset for freepascal

2006-03-08 Thread Rodrigo Palhano
Is there any equivalent component available in FreePascal? CachedUpdates, ApplyUpdates and so on... tks for att. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] TClientDataset for freepascal

2006-03-08 Thread Michael Van Canneyt
On Tue, 7 Mar 2006, Rodrigo Palhano wrote: Is there any equivalent component available in FreePascal? CachedUpdates, ApplyUpdates and so on... SQLDB contains cached updates. But SQLDB is not 3 tier. Michael. ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] unique / temp filename

2006-03-08 Thread Graeme Geldenhuys
Hi, I have managed to get a unique / temp filename under Windows and Linux using IFDEF's. Does FPC or Lazarus have a crossplatfrom function that does this without the need for IFDEF's? Regards, - Graeme - ___ fpc-pascal maillist - fpc-pascal@lists.

Re: [fpc-pascal] unique / temp filename

2006-03-08 Thread Felipe Monteiro de Carvalho
Look here: http://wiki.lazarus.freepascal.org/index.php/Multiplatform_Programming_Guide#On_Linux_there_is_no_.22application_directory.22 thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

Re: [fpc-pascal] unique / temp filename

2006-03-08 Thread Vinzent Hoefler
On Wednesday 08 March 2006 14:33, Graeme Geldenhuys wrote: > I have managed to get a unique / temp filename under Windows and > Linux using IFDEF's. Does FPC or Lazarus have a crossplatfrom > function that does this without the need for IFDEF's? SysUtils.GetTempFileName? Vinzent.

Re: [fpc-pascal] unique / temp filename

2006-03-08 Thread Felipe Monteiro de Carvalho
On 3/8/06, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: > > I have managed to get a unique / temp filename under Windows and > > Linux using IFDEF's. Does FPC or Lazarus have a crossplatfrom > > function that does this without the need for IFDEF's? > > SysUtils.GetTempFileName? My bad, on the wiki

[fpc-pascal] Variable arguments, different types?

2006-03-08 Thread L505
Hi, This below seems to work.. I got the impression you couldn't do this. program HelloWorld; var I : Integer; procedure test (args : array of const); begin writeln('test'); For i:=0 to High(Args) do begin case Args[i].vtype of vtstring: Writeln ('String value: ',args[

[fpc-pascal] fpPause function not working on 2.0.2 [2005/12/21] for x86_64

2006-03-08 Thread Terry Kemp
The fppause function doesn't seem to work anymore. It just goes straight through with no delay at all. I'm sure I have had this working previously (using oldlinux unit). Can anyone confirm if this works on 32 bit fpc. thanks Terry Free Pascal Compiler version 2.0.2 [2005/12/21] for x86_64 { P

Re: [fpc-pascal] Random numbers

2006-03-08 Thread Michalis Kamburelis
(Second send, it seems that mails from my old email address do not reach fpc lists) Antal wrote: It's not just that, but randseed is not a threadvar. This means that all your threads use the same randseed variable, so if two threads call "random" at the same time they will still get the same "

Re: [fpc-pascal] Variable arguments, different types?

2006-03-08 Thread Michalis Kamburelis
(Second send, it seems that mails from my old email address do not reach fpc lists) L505 wrote: [...] In other words you can reinvent your own writeln style procedures and pass parameters of *different types* simutaneously. I was under the impression you could only pass parameters of the same

Re: [fpc-pascal] Variable arguments, different types?

2006-03-08 Thread L505
> > > > In other words you can reinvent your own writeln style procedures and pass > > parameters of *different types* simutaneously. I was under the impression you > > could only pass parameters of the same type through this [] square bracket > > trickery. > > > > See docs: [http://www.freepascal