[fpc-pascal] Specializing generics in a generic

2007-12-26 Thread bartek
Hi, When i try to specialize generics in a generic, FPC wants me to give more types for specialization (of the containing generic) where IMO only one is needed. The code: {$mode objfpc} {$h+} program test; uses classes, sysutils; type generic TNode = class var public

Re: [fpc-pascal] getlastoserror giving wrong value?

2007-12-26 Thread Marc Santhoff
Am Freitag, den 21.12.2007, 06:37 +0100 schrieb Marc Santhoff: > How can that happen? Pretty simple, all occurences of getlastoserror() and the error variable seem to declare the number as longint. In my program I did the same. The value given back is only a word - or looks as if it is. When look