REBOL3 tracker
  0.9.12 beta
Ticket #0001389 User: anonymous

Project:



rss
TypeBug Statustested Date16-Dec-2009 23:32
Versionalpha 95 CategoryNative Submitted byPeterWood
PlatformAll Severityminor Prioritynormal

Summary To Binary! [integer] does not work
Description The R3 docs state:

To convert an integer into its binary value, pass it in a block:

probe to-binary [1]
#{01}

However, this throws a script error.
Example code
>> to-binary [1]
** Script error: invalid argument: [1]
** Where: to to-binary
** Near: to binary! :value

Assigned ton/a Fixed inalpha 98 Last Update6-May-2010 09:12


Comments
(0001864)
meijeru
17-Dec-2009 12:54

I am afraid the R3 doc in question (http://rebol.com/r3/docs/datatypes/binary.html) is not up-to-date; this part of the text actually applies to R2.
(0002287)
Carl
1-May-2010 00:53

Yes, it is a valid constructor, just like MAKE. This bug has been fixed. The docs still need updating however, as Meijeru commented.

Date User Field Action Change
6-May-2010 09:12 BrianH Status Modified built => tested
1-May-2010 00:53 carl Comment : 0002287 Added -
1-May-2010 00:52 carl Fixedin Modified => alpha 98
1-May-2010 00:52 carl Status Modified reviewed => built
23-Dec-2009 13:55 carl Description Modified -
23-Dec-2009 13:55 carl Code Modified -
23-Dec-2009 13:55 carl Status Modified submitted => reviewed
19-Dec-2009 13:15 meijeru Comment : 0001864 Modified -
17-Dec-2009 12:54 meijeru Comment : 0001864 Added -
16-Dec-2009 23:32 PeterWood Ticket Added -