>Shouldn't this give 0 1 0 0 0 0 0 1? ("A"=65=01000001)
>
>tmp$="A"
>a& = @tmp$+1
>for i& = 0 to 7
> PRINT FN BITTST(a&,i&);
>next i&
>
>Keeps giving me 0 0 0 0 0 0 1 0
Nah, what you're doing is getting the address of tmp$ + 1, but you never
peek to see what the value is:
a& = Peek(@tmp$ + 1)
You wouldn't want to peek word/long since it's only one byte.
HTH
-- TJ Grant (tatewake@...)
Inspired Communications. http://inspired.netstreet.net/
Phone: 407-728-7563