thanks Sayzar , but i tried that before i posted , and just then , still get bad expression error and syntax error , using picbasic pro 5.0.0.0 , pbpx 3.0.4.1

is there something i am missing ??

Cheers

sheldon


temp = STDByte[T] - bad expression error
STDByte[T] = temp - syntax error