Thanks for the help guys. The button and toggle commands just weren't working for what I needed. First of all, I couldn't get the button to debounce consistently, but mostly it wouldn't work even if it did because the toggle command did not toggle the two LEDs simultaneously. It would toggle the first LED upon the button press and then toggle the second upon button release. It also seemed to loop if you held the button down. I'm using a non-latching momentary switch thas intended to be activated with your foot, so it's incredibly bouncy. And it's activating a dual latching relay. I'm using LEDs now just to verify the program. So both LEDs need to toggle simultaneously upon pressing the switch and not do anything at all when you hold the switch down.
I wrote my own debounce/toggle program. It sorta works. here's the thread: http://www.picbasic.co.uk/forum/showthread.php?t=19114
Bookmarks