Variable size/Get: Difference between revisions
Add Factor
(Merge omitted languages at bottom and add Processing) |
(Add Factor) |
||
Line 421:
2
</pre>
=={{header|Factor}}==
<lang factor>USING: layouts memory prettyprint ;
! Show size in bytes
{ 1 2 3 } size . ! 48
1231298302914891021239102 size . ! 48
! Doesn't work on fixnums and other immediate objects
10 size . ! 0
! Show number of bits in a fixnum
fixnum-bits . ! 60</lang>
=={{header|Forth}}==
|