Re: bug report
jon klein <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
On Nov 21, 2003, at 10:51 AM, Raphael Crawford-Marks wrote:
> Actual Output:
>
> (from the print statement)
> Here's the stuff in the list: { elmt1, elmt2, elmt3, ..., elmtN }
> (from the write-line)
> Here's the stuff in the list: N
>
> Expected Output:
>
> Output should be consistent, either printing out the contents of the
> list or the
> length of the list.
I'm unable to reproduce this bug. The following code seems to
correctly print
out the entire list for both file and console output:
@use File.
@use Control.
Controller FileTest.
Control : FileTest {
+ to init:
file (object).
listOfThings (list).
file = new File.
file open-for-writing with-file "output.txt".
listOfThings = { 1, 2, 3, "dog" }.
print "Here's the stuff in the list: $listOfThings".
file write-line text "Here's the stuff in the list:
$listOfThings".
file close.
}
- jon klein
_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve