i have copied that code to picbsic pro 2.5 but it has some errors in compiling.