On Sun, Feb 9, 2020 at 12:25 PM Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote:
> Hi Freeman, > > > Ok you are getting closer to what i am asking. > > I’m glad! > > > Rerote (let ((rand (random 100))) ...) . I need to understand it > so that i know which to use and when? > > ((rand (random 100)) or (rand (random 100) > > You would never use either, because the parentheses aren’t > matched/paired/balanced. ;) > > > for (let ((rand (random 100))) ...) or (let(rand (random 100)) ...) . > In your previous email you explained this: ((rand (random 100))) for let ((rand (random 100))) which is ((let ((rand (random 100)))...) > > As Harm pointed out, indentation will help… Here’s an extremely > broken-down version: > > (let > ( > (rand (random 100)) > (a (+ 2 3)) > ) > ) > This is the form i am asking about: (let ( (rand (random 100)) ) ( ... ) ) > > Compressing it onto a single line [which is not necessarily encouraged] > gives: > > (let ((rand (random 100)) (a (+ 2 3)))) > > Hope that helps! > Kieren. > ________________________________ > > Kieren MacMillan, composer (he/him/his) > ‣ website: www.kierenmacmillan.info > ‣ email: i...@kierenmacmillan.info > >