From: �a/b on
On Tue, 11 Sep 2007 16:45:48 +0200, "Wolfgang Kern" wrote:
>"�a\/b" answered:
>[..]
>>> I first scan the string to get its size, a possible decimal point,
>>> the sign and also check for valid numbers and if there is an exponent.
>>> Now I know the power of the MSD given by the LSD position in the string.
>
>> i should follow the specification <spaces><+><digits>
>> eg error for "-3444"; " a"; ".u988"; etc
>> then convert the number in the digits format using the base
>> and the table.
>
>> it is for that i use mult because the base can be all 2-->36
>> and i have to mult by the base value
>> if error => i return it in CF
>
>> so that program should return the number of base 20 from " gh23z"
>
>What do you mean by base 20 here ?

digit
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, g, h, i, l
value
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19

in hex (base 16) i stop with f
in base 20 i stop with l

so " gh23z" == 3 + 2*20 + 17*20*20 + 16*20*20*20 and the pointer has
to stop to "z"


From: hutch-- on
Ho ho ho,

> So, you refuse to follow up on your challenge, and are so
> sure of loosing the fight, that you wouldn't like anyone to
> post any example at all?

www.masm32.com

I don't have to follow it up, I have responded to Wannabee's challenge
and he has tried to change the conditions of the challenge which I
refuse to accept.

Beter soak your dentures unless you want to gum Wannabee's hat to
death the hard way.

From: Betov on
hutch-- <hutch(a)movsd.com> �crivait news:1189549252.739364.64550
@i38g2000prf.googlegroups.com:

>> So, you refuse to follow up on your challenge, and are so
>> sure of loosing the fight, that you wouldn't like anyone to
>> post any example at all?
>
> www.masm32.com


Pathetic Troll.


Betov.

< http://rosasm.org >

From: hutch-- on
smile,

> >www.masm32.com
>
> Pathetic Troll.

Desperation suits you. You can get over it by going to www.masm32.com
and getting the masm32 project for poor Wannabee so he can see whay he
has to eat his hat. How could you lead a simpleton like Wannabee
astray, he could have been a harmless village half wit who never got
into trouble.

You should be forced to eat his hat for him.

From: Wolfgang Kern on

"�a\/b" wrote:

>>What do you mean by base 20 here ?
>
> digit
> 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f, g, h, i, l
> value
> 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
>
> in hex (base 16) i stop with f
> in base 20 i stop with l
>
> so " gh23z" == 3 + 2*20 + 17*20*20 + 16*20*20*20 and the pointer has
> to stop to "z"

I see, but does this 'dualdec' format really help somewhere ?
it may save on a few characters in strings, but if I think about storing
values nibble-wise this reminds me on the weird FAT12 issues :)
For drive-letters I once used a similar base 36 '0..Z', but never
for numeric expressions.

__
wolfgang