Re: [fpc-pascal]file or fileexists?

2004-01-06 Thread Edvaldo Silva de Almeida Júnior
This is the code. Assign(arq_s,'matriculas.arq'); if (not FileExists('matriculas.arq')) then Rewrite(arq_s) else Append(arq_s); write(arq_s,reg_matricula); Close(arq_s); Which unit is FileExists() in? Do I have to add some unit to have it working? Edvaldo A

Re: [fpc-pascal]file or fileexists?

2004-01-06 Thread Rudolf Harney
Edvaldo Almeida wrote ---8<--- > Which unit is FileExists() in? Do I have to add some unit to have it > working? --->8--- in sysutils. __ Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den Kindern - he

[fpc-pascal]udp file transfer

2004-01-06 Thread vkrish
Hi all!, I'm working on a file transfer application for my company. It will be a small win32 app that will transfer (huge) mpeg files through a satelite link. Since the latency is high, i'm planning to use UDP. Any code/units/pointers highly appreciated. cheers, -Krish _

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread Marco van de Voort
> I'm working on a file transfer application for my company. It will be a > small win32 app that will transfer (huge) mpeg files through a satelite > link. Since the latency is high, i'm planning to use UDP. > > Any code/units/pointers highly appreciated. If you use a FPC 1.9.x version (if not: c

[fpc-pascal]date not 1903

2004-01-06 Thread Rudolf Harney
Hi! I use StrToDate to read a date. When the string is e.g. '2-12-03', fpc will read the date 02-12-1903. Is there a way, to tell fpc, I want the year 2003 and not 1903 (without changing the string)? I use fpc 1.0.10 under Linux. Thanks for hints, RUDOLF -- Rudolf Harney ___

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread vkrish
> > I'm working on a file transfer application for my company. It will be a > > small win32 app that will transfer (huge) mpeg files through a satelite > > link. Since the latency is high, i'm planning to use UDP. > > > > Any code/units/pointers highly appreciated. > > If you use a FPC 1.9.x v

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread vkrish
sorry for a silly Q, > A shadow ICS lib has been entered into the CVS, directory projects/contrib/ics I just did a "cvd -z3 update -dP" to the current fpc tree but I did not find any contrib dir in the tree. where exactly is this ? cheers, -Krish __

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread Marco van de Voort
> > > I'm working on a file transfer application for my company. It will be a > > > small win32 app that will transfer (huge) mpeg files through a satelite > > > link. Since the latency is high, i'm planning to use UDP. > > > > > > Any code/units/pointers highly appreciated. > > > > If you use a

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread Marco van de Voort
> sorry for a silly Q, > > > A shadow ICS lib has been entered into the CVS, directory projects/contrib/ics > > I just did a "cvd -z3 update -dP" to the current fpc tree but I did not find any > contrib dir in the tree. where exactly is this ? It's not the fpc/ tree, but the projects tree (the

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread vkrish
> > A shadow ICS lib has been entered into the CVS, directory projects/contrib/ics > > I just did a "cvd -z3 update -dP" to the current fpc tree but I did not find any > contrib dir in the tree. where exactly is this ? ok. I found it. plz. ignore my previous msg. cheers, -Krish ___

Re: [fpc-pascal]file or fileexists?

2004-01-06 Thread Edvaldo Silva de Almeida Júnior
Thank you. Edvaldo Em Ter, 2004-01-06 às 08:33, Rudolf Harney escreveu: Edvaldo Almeida wrote ---8<--- > Which unit is FileExists() in? Do I have to add some unit to have it > working? --->8--- in sysutils. ___

Re: [fpc-pascal]udp file transfer

2004-01-06 Thread vkrish
> > sorry for a silly Q, > > > > > A shadow ICS lib has been entered into the CVS, directory projects/contrib/ics > > > > I just did a "cvd -z3 update -dP" to the current fpc tree but I did not find any > > contrib dir in the tree. where exactly is this ? > > It's not the fpc/ tree, but the