REBOL3 tracker
  0.9.12 beta
Ticket #0001600 User: anonymous

Project:



rss
TypeIssue Statustested Date5-May-2010 22:20
Versionalpha 97 CategoryNative Submitted byBrianH
PlatformAll Severityminor Prioritynormal

Summary FOR with a series! bump argument makes no sense
Description The FOR function accepts series! for its start, end and bump arguments. While this makes sense for start and end, there is no meaning for a series bump that I can determine. And FOR's behavior with a series bump makes no sense either.

Why can you provide a series! bump, and what is it supposed to mean?
Example code
>> for x a: "abcdefg" at a 5 2 [print x]
abcdefg
cdefg
efg
>> for x a: "abcdefg" at a 5 "ab" [print x]
abcdefg
>> for x a: "abcdefg" at a 5 "ce" [print x]
abcdefg
>> for x a: "abcdefg" at a 5 a [print x]
abcdefg
>> for x a: "abcdefg" at a 5 at a 3 [print x]
** Script error: value out of range: "cdefg"
** Where: for
** Near: for x a: "abcdefg" at a 5 at a 3 [print x]

Assigned ton/a Fixed inalpha 99 Last Update8-May-2010 00:25


Comments
(0002358)
Carl
7-May-2010 21:30

Spec changed.

Date User Field Action Change
8-May-2010 00:25 BrianH Status Modified built => tested
7-May-2010 21:30 carl Comment : 0002358 Added -
7-May-2010 21:30 carl Fixedin Modified => alpha 99
7-May-2010 21:30 carl Status Modified reviewed => built
7-May-2010 06:53 carl Description Modified -
7-May-2010 06:53 carl Code Modified -
7-May-2010 06:53 carl Status Modified submitted => reviewed
5-May-2010 22:20 BrianH Ticket Added -