Search found 3 matches

by jamsoft
Wed Mar 14, 2012 12:27 am
Forum: Scheme
Topic: Help me interpret an expression, please
Replies: 4
Views: 13884

Re: Help me interpret an expression, please

Thank you! Your explanation helped me very much!
by jamsoft
Sat Mar 03, 2012 6:57 am
Forum: Scheme
Topic: Help me interpret an expression, please
Replies: 4
Views: 13884

Re: Help me interpret an expression, please

Thank you very much for your explanation. So, for confirmation that I've understood well, e.g. - the #vu8(0 0 4 0) - considering that every element of the bit vector is 8-bit number it will be interpreted as 21 zeros followed by 1 and then followed by 10 zeros? (i.e. 00000000000000000000010000000000...
by jamsoft
Fri Mar 02, 2012 11:09 am
Forum: Scheme
Topic: Help me interpret an expression, please
Replies: 4
Views: 13884

Help me interpret an expression, please

Hi all, I'm a beginner in Scheme programming and I don't understand the following expression: (bitwise-arithmetic-shift #vu8(1 0 0 0) pin) where pin is usually the integer 0 to 31 Can you explain me step by step, what is the purpose of this expression and what is happening inside it, please? I under...