Re: [fpc-pascal] best method: multiple three state options in a decision tree

2014-01-22 Thread Lukasz Sokol
On 21/01/14 18:42, waldo kitty wrote: On 1/21/2014 10:21 AM, Mattias Gaertner wrote: On Tue, 21 Jan 2014 09:51:38 -0500 waldo kitty wkitt...@windstream.net wrote: On 1/18/2014 7:40 PM, waldo kitty wrote: what is the best method of coding a decision tree with options that have three

[fpc-pascal] Winsock problems on trunk: rtl-extra?

2014-01-22 Thread Reinier Olislagers
FPC trunk x86, windows. Warning: fiddling newb alert. I have a unit httpclient that apparently uses winsock2: 3rdparty\httpclient.pas(0,0) Fatal: Can not find unit WinSock2 used by Sockets. Temporarily adding this to the other unit files (-Fu) in Lazarus ;$(fpcsrcdir)\packages\rtl-extra\src\win

Re: [fpc-pascal] best method: multiple three state options in a decision tree

2014-01-22 Thread waldo kitty
On 1/22/2014 3:52 AM, Lukasz Sokol wrote: [...] ^and this... looks like a (good?) use for a dynamic array of TMinMaxState = [mmNone, mmMin, mmMinMax, mmMax]; (then var Options = array[static or dynamic] of TMinMaxState;) This assumes options have a fixed position in the array however... but

Re: [fpc-pascal] Winsock problems on trunk: rtl-extra?

2014-01-22 Thread Sven Barth
Am 22.01.2014 16:13, schrieb Reinier Olislagers: FPC trunk x86, windows. Warning: fiddling newb alert. I have a unit httpclient that apparently uses winsock2: 3rdparty\httpclient.pas(0,0) Fatal: Can not find unit WinSock2 used by Sockets. Temporarily adding this to the other unit files (-Fu)

Re: [fpc-pascal] Winsock problems on trunk: rtl-extra?

2014-01-22 Thread Reinier Olislagers
On 22/01/2014 17:05, Sven Barth wrote: Am 22.01.2014 16:13, schrieb Reinier Olislagers: Does the FPC make files need some more adjustments... or do I need to make them ;) Should now be fixed in revision 26564. :) Thanks a lot Sven, works perfectly!

Re: [fpc-pascal] Strange message about mixed signed expression

2014-01-22 Thread Florian Klämpfl
Am 22.01.2014 19:00, schrieb Jürgen Hestermann: Am 2014-01-22 07:41, schrieb leledumbo: Jürgen Hestermann wrote Realy? But why that? It cannot be negative. Using integer instead of unsigned values reduces the possible (positive) range and produces such illogical (to me) compiler

Re: [fpc-pascal] Strange message about mixed signed expression

2014-01-22 Thread Sven Barth
On 22.01.2014 19:00, Jürgen Hestermann wrote: Am 2014-01-22 07:41, schrieb leledumbo: Jürgen Hestermann wrote Realy? But why that? It cannot be negative. Using integer instead of unsigned values reduces the possible (positive) range and produces such illogical (to me) compiler warnings.

Re: [fpc-pascal] best method: multiple three state options in a decision tree

2014-01-22 Thread waldo kitty
On 1/22/2014 12:12 PM, Lukasz Sokol wrote: [...] If you insist on using bits define them: it isn't that i'm insisting on using them... more the way that my linear mind sees them... i'm trying to change this if it affords me better code that is easier to read, understand and modify...