be08be, thanks for the comment. However it did not work for me. I am not sure why, but I know this is through my own fault.
Piiko, I have a confession. Earlier, I glanced over your comment and decided the program you gave me was the same as my own and disregarded it. After half an hour or so of successive syntax errors, I became desperate. I looked over your answer again and saw that "then swon1" is on the same line as "if b0 = 1". I tried it with SUCCESS. You have my thanks and most humble apologies of that moment of hot-headedness.
My new code:
# picaxe 08m2
irin C.3, infra
main:
irin [1000, main], C.3, b0 ;wait for new signal
if b0= 1 then swon1 ;switch on 1
if b0 = 2 then swon2 ;switch on 2
if b0 = 3 then swon3 ;switch on 3
goto main
swon1: high C.0
pause 250
low C.0
swon2: high C.1
pause 250
low C.1
swon3: high C.2
pause 250
low C.2
It works
However, I have a new question:
"if b0 = 1
then swon1" - throws up a syntax error
"if b0 = 1 then swon1" - is perfectly fine.
Why? Surely the new line is just whitespace and is ignored.
My original question has been solved, I am just curious as to why the original program was wrong.
Thanks again for your time
I really do appreciate it