Re: RE: [libertybasic] Decimal to Binary..........
- Hello Humberto
bin$ = "" The string is enpty
bin$ = "0" Meaning the bin$ has a value of 0
bin$ = "0" + bin$ Meaning 0 is taken as a string not a number
And for next time the the string will add the string bin$
Hare is a Example
let bin$ = "0"
for x = 1 to 5
bin$ = "0" + bin$
I thing this will solve you problem!!!
At 7/30/2002 7:05:00 PM, you wrote:
>Questions of logic...
>bin$="" Means string variable bin$ is nothing
>but, bin$="0"+bin$ has me lost. I seem to be puzzled
>by how this logic works. I am not seeing whats going
>on in the Bin$ variables. Please clear me up on this.