Quote Originally Posted by angeline View Post
Sorry I forgot to mention ... I am using MPLAB IDE to compile this and ICD 2 as the connector to program my dsPIC ...
Still doesn't look like that'll compile under MeLabs PicBasic or MeLabs PicBasicPro, which only support PIC12, PIC14, PIC16, PIC18xxxx devices.