Maybe this is a documentation error. I tried the sequence in another scheme implementation (racket) and resulted in a similar output, implying separate functions are processed one by one, whose outputs intersperesed each time with command prompts.
So, you need to enclose multiple functions (commands) with "begin" in a case like this, as follows: guile> (begin (display a) (newline)) HTH, and happy schemeing! On Thu, May 2, 2013 at 8:31 PM, MING TSANG <tsan...@rogers.com> wrote: > > > Hi lily user: > I try lilypond scheme-sandbox. The highlight did not correspond to what > chapter 1 - scheme tutorial (extending.pdf) said: "2" is suppose displays > on a line, but it is not. Please refer to the copy of the run. > > Thanks for the help, > Ming > > > Microsoft Windows [Version 6.1.7600] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > C:\Users\Tsang>lilypond scheme-sandbox > GNU LilyPond 2.16.2 > Processing `C:/Program Files > (x86)/LilyPond/usr/share/lilypond/current/ly/scheme > -sandbox.ly' > Parsing... > guile> (define a 2) > guile> a > 2 > guile> (display a) > 2guile> (display a)(newline) > 2guile> > guile> (display a)(display "\n") > 2guile> > guile> (set! a 12345) > guile> a > 12345 > guile> (display a) (newline) > 12345guile> > guile> (display a)(newline) > 12345guile> > guile> > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user