REBOL3 tracker
  0.9.12 beta
Ticket #0001563 User: anonymous

Project:



rss
TypeIssue Statustested Date11-Apr-2010 19:27
Versionalpha 97 CategoryExtensions Submitted bymeijeru
PlatformAll Severityminor Prioritynormal

Summary COMMAND function takes integer! argument, but chokes on it.
Description When making an extension, one specifies the command functions in the init string by the use of the COMMAND function, which takes an argument which is either a block or an integer, and which calls MAKE command!. The block is a classical argument specification in the same dialect as for "normal" functions. Intrigued by what the integer argument might do, I tried to supply it, but this gives an error. What is happening?
Example code
command: make function! [[
    "Define a new command for an extension."
    args [integer! block!]
][
    make command! reduce [args self ++ cmd-index]
]]

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


Comments
(0002246)
Carl
26-Apr-2010 23:31

Unimplemented. Removed it to fix crash.

Date User Field Action Change
6-May-2010 09:32 BrianH Status Modified built => tested
1-May-2010 06:14 carl Fixedin Modified => alpha 98
26-Apr-2010 23:32 carl Comment : 0002246 Modified -
26-Apr-2010 23:31 carl Status Modified reviewed => built
26-Apr-2010 23:31 carl Comment : 0002246 Added -
26-Apr-2010 16:20 carl Status Modified submitted => reviewed
18-Apr-2010 19:55 BrianH Code Modified -
18-Apr-2010 19:55 BrianH Category Modified Unspecified => Extensions
11-Apr-2010 19:27 meijeru Ticket Added -