[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Q:Meaning of [ ] in the bb notes example?
From: |
Michael Erdmann |
Subject: |
[Chicken-users] Q:Meaning of [ ] in the bb notes example? |
Date: |
Sat, 02 Oct 2004 08:51:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616 |
Hallo,
what is the meaning of the [ ] in the let statement od the notes example
in bb extension.
In docu (sect. 5.2) it is mentioned as an alternative for ( ). But why
has been used?
(define (change-title)
(let ([i (bb:property item-list 'value)])
(when (> i 0)
(let* ([note (list-ref all-notes (sub1 i))]
[title (bb:get-input "Enter new title" (note-title note))] )
(set! (bb:property (note-window note) 'text) title)
(note-title-set! note title)
(update-list) ) ) ) )
Regards
M.Erdmann