Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-29 Thread gambas
Comment #6 on issue 516 by rezeden...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 thank you. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https:

Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-29 Thread gambas
Updates: Status: WontFix Comment #5 on issue 516 by benoit.m...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 Yes. Read http://en.wikipedia.org/wiki/Two%27s_complement to learn how negative numbers are represented in memory and in the CPU. Russian link: h

Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-23 Thread gambas
Comment #4 on issue 516 by rezeden...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 >> I does work with negative numbers, but I don't think you understand how >> binary system works with negative numbers. Negative numbers are inverted, all bits, not just the sign

Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-22 Thread Jussi Lahtinen
I does work with negative numbers, but I don't think you understand how binary system works with negative numbers. ? bin(-1,8) ? bin(-2,8) 1110 ? bset(-2,0) -1 ? bin(bset(-2,0),8) Perhaps you are looking for BClr? http://www.gambasdoc.org/help/lang/bclr?v3 ? bin(bclr(-1,

Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-22 Thread gambas
Comment #3 on issue 516 by jussi.la...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 I does work with negative numbers, but I don't think you understand how binary system works with negative numbers. ? bin(-1,8) ? bin(-2,8) 1110 ? bset(-2,0) -1 ? b

Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-22 Thread gambas
Comment #2 on issue 516 by rezeden...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 Copy what happens in the debug console. (Копирую то что происходит у меня в консоли отладки.) ? bset(-1,2) -1 I do not know this bug or feature and should not work with negative

Re: [Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-21 Thread gambas
Comment #1 on issue 516 by benoit.m...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 If r=-1, all bits are set, so BSet will do nothing. Everything is normal, isn't it? -- You received this message because this project is configured to send all issue notificati

[Gambas-user] Issue 516 in gambas: bug BSet -1

2014-03-21 Thread gambas
Status: New Owner: Labels: Version-3.1.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 516 by rezeden...@gmail.com: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 1) Function BSet does not work with negative numbers (не работает с о