Re: [fpc-pascal] Why this code fails

2007-01-17 Thread Jonas Maebe
On 17 jan 2007, at 12:28, Alexander Todorov wrote: On 16 jan 2007, at 15:55, Matt Emson wrote: >> The reason is that it tries to convert S to a number rather than V to >> a string. The error is still in the current 2.1.1. May be the compiler should generate compile time error or a warnin

Re: [fpc-pascal] Why this code fails

2007-01-17 Thread Alexander Todorov
On 16 jan 2007, at 15:55, Matt Emson wrote: >> The reason is that it tries to convert S to a number rather than V to >> a string. The error is still in the current 2.1.1. May be the compiler should generate compile time error or a warning. I am using VarToStr anyway just tried to look more lik

Re: [fpc-pascal] FPC in DOS environment

2007-01-17 Thread Daniel Franzini
for now, on MS Virtual PC with fpc2.0.5 stable for go32v2, the IDE does not even get loaded correctly...it displays some info on compiler and ide version, shows the nice FP screen and then exits quickly...i will try to recompile from the sources with debug info to see exactly where it stops (altou

Re: [fpc-pascal] Problem with TSQLQuery

2007-01-17 Thread Henry Vermaak
Hi all, hi there i've got a problem while reading a huge database table with TSQLQuery. The program consumes all the memory and is then terminated by the kernel. I think all read table rows are buffered. Is there a way to disable or limit the size of the buffer? Example: FQuery.SQL.Add('sel