It's all in the PICBasic Manual that came with your software.