Paste number 79433: <sequence-stream> failure

Paste number 79433: <sequence-stream> failure
Pasted by: |Agent
When:2 years, 9 months ago
Share:Tweet this! | http://paste.lisp.org/+1PAH
Channel:#dylan
Paste contents:
Raw Source | XML | Display As
define function main(name, arguments)
  let s = "This is a test.";
  let stream = make(<sequence-stream>, contents: s);
  stream.stream-position := #"end";
  format-out("Length %d\n", stream.stream-position);
end function main;

// Invoke our main() function.
main(application-name(), application-arguments());

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.