The first language I used was JAL. For weeks I tried to write
the simple "Flash a LED" program in assembly, then
in less than an hour had a PIC flashing an LED when using JAL.
This was great stuff, as most of my PIC requirements initially
was to flash LEDs or do things on the activation of switches.
In fact after a few days I was able to write code to control
a standard RC servo direct from a 12F675 PIC. However JAL has
its limitations, and a lot of things that PICs offer has not
been covered, so you have to drop out to assembly, which somewhat
defeats the object really. The good thing about JAL is that
its free, and has an active Yahoo user group that helps out
when you have a problem.
The 1st line
of the code calls an INC file which contains pre set settings
and saves having 1000's of lines of code to set the PIC up.
The second line includes the JAL library files. Next a variable
is set and assigned to pin a0, with the pin set as output. Then
a simple loop runs changing the state from high (on) to low
(off) with a delay of 100ms (20 * 5) between states.