Re: [Gambas-user] Problem with Byte datatype ?

2009-01-30 Thread Paul Horechuk
On January 29, 2009, Dominique SIMONART wrote: Hi evererybody, If I code the few lines showed below: DIM X AS Byte DIM Texte AS String[64] X = h2E X += hE0 TextBox1.Text = Hex(X) Texte[X] = Hex(X) I get '10E' displayed. Is this correct for a byte? I think the 10E indicates an

Re: [Gambas-user] Problem with Byte datatype ?

2009-01-30 Thread Doriano Blengino
Paul Horechuk ha scritto: On January 29, 2009, Dominique SIMONART wrote: Hi evererybody, If I code the few lines showed below: DIM X AS Byte DIM Texte AS String[64] X = h2E X += hE0 TextBox1.Text = Hex(X) Texte[X] = Hex(X) I get '10E' displayed. Is this correct for a

[Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Dominique SIMONART
Hi evererybody, If I code the few lines showed below: DIM X AS Byte DIM Texte AS String[64] X = h2E X += hE0 TextBox1.Text = Hex(X) Texte[X] = Hex(X) I get '10E' displayed. Is this correct for a byte? If you put a breakpoint on the TextBox1 line, the local variables show X value as 14

Re: [Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Simonart Dominique
Dominique SIMONART a écrit : Hi evererybody, If I code the few lines showed below: DIM X AS Byte DIM Texte AS String[64] X = h2E X += hE0 TextBox1.Text = Hex(X) Texte[X] = Hex(X) I get '10E' displayed. Is this correct for a byte? If you put a breakpoint on the TextBox1

Re: [Gambas-user] Problem with Byte datatype ?

2009-01-29 Thread Benoit Minisini
On jeudi 29 janvier 2009, Simonart Dominique wrote: Dominique SIMONART a écrit : Hi evererybody, If I code the few lines showed below: DIM X AS Byte DIM Texte AS String[64] X = h2E X += hE0 TextBox1.Text = Hex(X) Texte[X] = Hex(X) I get '10E' displayed. Is this