lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond scheme-sandbox


From: Madoka Machitani
Subject: Re: lilypond scheme-sandbox
Date: Thu, 2 May 2013 22:03:29 +0900

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 <address@hidden> 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
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
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

[Prev in Thread] Current Thread [Next in Thread]