Re: How to load integer with 10101010b ?

From: Harald Hahn (H.Hahn_at_gsi.de)
Date: 09/21/04


Date: 21 Sep 2004 00:39:51 -0700

erewhon@nowhere.com (J French) wrote in message news:<414aea56.443996113@news.btclick.com>...
> On Fri, 17 Sep 2004 10:48:04 GMT, Jeremy Collins
> <jd.collins@ntlworld-not.com> wrote:
>
> >J French wrote:
> >> On 17 Sep 2004 01:02:42 -0700, H.Hahn@gsi.de (Harald Hahn) wrote:
>
> >
> >I think the referee will have to give you a yellow card for
> >using *that* sort of language around here, Mr F!
>
> That is comical,
> I did not expect such a question in a Delphi NG
>
> This is, of course a Delphi way :-
>
> procedure TForm1.Button1Click(Sender: TObject);
> Var
> W :WORD;
> begin
> ASM
> Mov W, 1111111111111111b
> END;
> ShowMessage( IntToStr( W ) );
> end;

 thanks, that's what I was looking for...