Thanks for fast and helpful answer. It works fine.

TRoland;

<<< 08.10.2010 10:41 - Jonas Maebe "jonas.ma...@elis.ugent.be" >>>

JM> On 08 Oct 2010, at 10:33, Roland Turcan wrote:

>> I have this conversion:
>>
>> type TWordSet = set of 0..15;
>>     PWordSet = ^TWordSet;
>>
>> var  btn: TMsgDlgButtons;
>>
>> begin
>>  ...
>>  Integer(PWordSet(@btn)^) := Params[0]; // Params is Variant
>>  ...
>> end;
>>
>>
>> With FPC 2.4 it is OK, but up-to-date FPC SVN reports error in
>> subject.
>>
>> Is it a bug or it needs different conversion.

JM> 
http://wiki.freepascal.org/User_Changes_Trunk#Sizes_of_sets_in_TP.2FDelphi_mode


JM> Jonas




-- 
Best regards, TRoland
http://www.rotursoft.sk
http://exekutor.rotursoft.sk

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to