This would be found on the datasheet for the chip that you are working with. It will vary from chip to chip. All pic datasheets can be downloaded in PDF form from microchip.

Look in the index for the section called "Special Features". It will list all of those configurations (fuses) for your chip, and how they are used.

Then at the top of your PIC Basic code, use a line similar to this:

"@ device hs_OSC, wdt_on, pwrt_on, protect_off" (You "can" make the modifications in the '16Fxxx.inc' include file, but that will be a change for all projects, instead of just this one)

For setting the speed, use a define statement in your code...

DEFINE OSC 4

Again, check datasheets for correct syntax and that it works for your chip.

Cheers!

SmugWimp