Re: Re: Managing Rnd value within BasicCard v6.5


[ Follow Ups ] [ BasicCard User Forum ]

Posted by christianb (83.155.164.117) on January 17, 2006 at 09:14:26:

In Reply to: Re: Managing Rnd value within BasicCard v6.5 posted by christian on January 13, 2006 at 11:46:48:

Dear Christian.
Thanks for your attention. My confusion becomes from the fact the Watches windows makes automated conversions before showing values.

For exemple,in a function, I have defined the following :
Byte$ is a string extract from a Cryptographic Key something like "BC" or "3A" or "02"

Hight@ = Asc(Byte$) AND &F0
Low@ = Asc(Bytes$) AND &0F

Hight@ and Low@ are the 4 hight bits (respectively the 4 low bits) of my byte with 0 padding. For exemple :
Hight@ = &HB0
Low@ = &H0C

I make some tests and sometimes some changes on these values and I try to "stick" them again with

NewByte$=Hex$(High@)+Hex$(Low@)

I am waiting NewByte$ = "BC"

Within the Watches BasicCard window I don't found all time the good value. Some times NewBytes$ is "BC" sometimes it is nothing I could understand like 30 35 42.
Is my program wrong ? Is there a bug in the watches window ? Or I have misunderstood something ?

Regards,
Christian BRIARD.




Follow Ups:


[ Follow Ups ] [ BasicCard User Forum ]