Re: [Pharo-project] hex

2010-02-24 Thread csrabak
Stef, Squeak prints in lowercase and reads *correctly* only in uppercase. . . -- Cesar Rabak Em 24/02/2010 04:05, Stéphane Ducasse stephane.duca...@inria.fr escreveu: The main reason for not using lowercase in squeak was Dan extension of number with radix plus exponent. 16r8e7 - 16r8 *

Re: [Pharo-project] hex

2010-02-24 Thread Nicolas Cellier
2010/2/24 csra...@bol.com.br: Stef, Squeak prints in lowercase and reads *correctly* only in uppercase. . . -- Cesar Rabak I think recent trunk version read both correctly. Did you try recently? Nicolas Em 24/02/2010 04:05, Stéphane Ducasse stephane.duca...@inria.fr escreveu: The

Re: [Pharo-project] hex

2010-02-24 Thread Stéphane Ducasse
On Feb 24, 2010, at 6:47 PM, csra...@bol.com.br wrote: Stef, Squeak prints in lowercase and reads *correctly* only in uppercase. . . can you post the expression you use? Are you talking about byteArray? or plain number? -- Cesar Rabak Em 24/02/2010 04:05, Stéphane Ducasse

Re: [Pharo-project] hex

2010-02-24 Thread Nicolas Cellier
2010/2/24 Stéphane Ducasse stephane.duca...@inria.fr: On Feb 24, 2010, at 6:47 PM, csra...@bol.com.br wrote: Stef, Squeak prints in lowercase and reads *correctly* only in uppercase. . . can you post the expression you use? Are you talking about byteArray? or plain number? ByteArray,

Re: [Pharo-project] hex

2010-02-24 Thread csrabak
Em 24/02/2010 16:03, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com escreveu: 2010/2/24 : Stef, Squeak prints in lowercase and reads *correctly* only in uppercase. . . -- Cesar Rabak I think recent trunk version read both correctly. Did you try recently?

Re: [Pharo-project] hex

2010-02-24 Thread csrabak
Stef, I've posted this yesterday, but here it is: In Pharo '16r7A2BD507' asNumber = 2049692935 '16r7a2bd507' asNumber = 7 In Squeak (3.10.2-7179) '16r7A2BD507' asNumber = 2049692935 '16r7a2bd507' asNumber = 7 Obviously I printed in the Workspace (Shout) -- Cesar Rabak Em 24/02/2010

Re: [Pharo-project] hex

2010-02-24 Thread Nicolas Cellier
2010/2/25 csra...@bol.com.br: Em 24/02/2010 16:03, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com escreveu: 2010/2/24  : Stef, Squeak  prints   in  lowercase  and  reads   *correctly*  only  in uppercase. . . -- Cesar Rabak  I  think recent  trunk version  read both  

[Pharo-project] hex

2010-02-23 Thread stephane ducasse
in pharo #[122 43 213 7] hex = '7A2BD507' in squeak #[122 43 213 7] hex = '7a2bd507' do you think that it makes a difference? Stef ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] hex

2010-02-23 Thread Eliot Miranda
On Tue, Feb 23, 2010 at 1:25 PM, stephane ducasse stephane.duca...@free.frwrote: in pharo #[122 43 213 7] hex = '7A2BD507' in squeak #[122 43 213 7] hex = '7a2bd507' do you think that it makes a difference? Much of the rest of the world (e.g. gdb, md5sum) uses lower case. Personally

Re: [Pharo-project] hex

2010-02-23 Thread Stéphane Ducasse
Ok thanks. The UUID spec (RFC 4122) allows both upper and lower case hex digits, so I don't see a reason not to. Bert On Feb 23, 2010, at 10:43 PM, Eliot Miranda wrote: On Tue, Feb 23, 2010 at 1:25 PM, stephane ducasse stephane.duca...@free.fr wrote: in pharo #[122 43 213 7]

Re: [Pharo-project] hex

2010-02-23 Thread Nicolas Cellier
The main reason for not using lowercase in squeak was Dan extension of number with radix plus exponent. 16r8e7 - 16r8 * (16 raisedTo: 7) and the Float variations... If you decided to abandon this notation, then go with either upper or lower. But a bit of consistency could help... Nicolas

Re: [Pharo-project] hex

2010-02-23 Thread Stéphane Ducasse
The main reason for not using lowercase in squeak was Dan extension of number with radix plus exponent. 16r8e7 - 16r8 * (16 raisedTo: 7) and the Float variations... If you decided to abandon this notation, then go with either upper or lower. But a bit of consistency could help... I'm

Re: [Pharo-project] hex

2010-02-23 Thread Stéphane Ducasse
Nicolas and others I was thinking also about the implication of the 16rFF changes on 16r8e7 http://code.google.com/p/pharo/issues/detail?id=2068 I would really like to take the time to think and discuss it as a community to see what we want to do. What is the current situation