BIT_N 
Author Message
 BIT_N

Hello,

We would like to know why the function 'print' is not working in Test.
We think it is a bug, could be in function 'out_in_tagged_out_memory'.

--------------------------------------------------------
 class TEST

 creation {ANY}
    make

 feature {ANY}

    make is
       local
          my_bit: BIT_STRING;
       do
          !!my_bit.make(8);
          my_bit.put_1(3);
          my_bit.put_1(5);
          print(my_bit);
       end -- make

 end -- class TEST
--------------------------------------------------------

Output
------
BIT 8_REF#0x805f2f0[]

Douglas.
--
  .^.
  /V\      Douglas Machado Tavares

/(   )\    IC-UNICAMP
 ^^-^^     Linux User # 227570



Mon, 29 Mar 2004 20:03:21 GMT  
 BIT_N
Which compiler?



Quote:

>Hello,

>We would like to know why the function 'print' is not working in Test.
>We think it is a bug, could be in function 'out_in_tagged_out_memory'.

>--------------------------------------------------------
> class TEST

> creation {ANY}
>    make

> feature {ANY}

>    make is
>       local
>          my_bit: BIT_STRING;
>       do
>          !!my_bit.make(8);
>          my_bit.put_1(3);
>          my_bit.put_1(5);
>          print(my_bit);
>       end -- make

> end -- class TEST
>--------------------------------------------------------

>Output
>------
>BIT 8_REF#0x805f2f0[]

>Douglas.
>--
>  .^.
>  /V\      Douglas Machado Tavares

>/(   )\    IC-UNICAMP
> ^^-^^     Linux User # 227570

--
Jim Cochrane

[When responding by email, include the term non-spam in the subject line to
get through my spam filter.]



Tue, 30 Mar 2004 03:35:38 GMT  
 BIT_N

Quote:
> Hello,

> We would like to know why the function 'print' is not working in Test.
> We think it is a bug, could be in function 'out_in_tagged_out_memory'.

> --------------------------------------------------------
>  class TEST

>  creation {ANY}
>     make

>  feature {ANY}

>     make is
>        local
>           my_bit: BIT_STRING;
>        do
>           !!my_bit.make(8);
>           my_bit.put_1(3);
>           my_bit.put_1(5);
>           print(my_bit);
>        end -- make

>  end -- class TEST
> --------------------------------------------------------

> Output
> ------
> BIT 8_REF#0x805f2f0[]

> Douglas.

What about
   print (my_bit.to_string)
?


Tue, 30 Mar 2004 05:14:37 GMT  
 BIT_N

Quote:
> Which compiler?

  SmallEiffel

--
  .^.
  /V\      Douglas Machado Tavares

/(   )\    IC-UNICAMP
 ^^-^^     Linux User # 227570



Fri, 02 Apr 2004 23:21:34 GMT  
 BIT_N

Quote:
> Which compiler?

SmallEiffel

--
  .^.
  /V\      Douglas Machado Tavares

/(   )\    IC-UNICAMP
 ^^-^^     Linux User # 227570



Fri, 02 Apr 2004 23:14:22 GMT  
 BIT_N

Quote:
> Which compiler?
  SmallEiffel



> >Hello,

> >We would like to know why the function 'print' is not working in Test.
> >We think it is a bug, could be in function 'out_in_tagged_out_memory'.

> >--------------------------------------------------------
> > class TEST

> > creation {ANY}
> >    make

> > feature {ANY}

> >    make is
> >       local
> >          my_bit: BIT_STRING;
> >       do
> >          !!my_bit.make(8);
> >          my_bit.put_1(3);
> >          my_bit.put_1(5);
> >          print(my_bit);
> >       end -- make

> > end -- class TEST
> >--------------------------------------------------------

> >Output
> >------
> >BIT 8_REF#0x805f2f0[]

> >Douglas.
> >--
> >  .^.
> >  /V\      Douglas Machado Tavares

> >/(   )\    IC-UNICAMP
> > ^^-^^     Linux User # 227570

--
  .^.
  /V\      Douglas Machado Tavares

/(   )\    IC-UNICAMP
 ^^-^^     Linux User # 227570


Fri, 02 Apr 2004 23:27:44 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. converting DOUBLE to BIT_N

2. SmallEiffel BIT_N

 

 
Powered by phpBB® Forum Software