I've just spent two hours working on a post which I'm not going to post for the minute.

However Question:

How does:
Code:
DAT_OUT.0[1]
work? Or were do I look for the solution, is it in the manual? (I'd rather try and find the answer) if I can't I'll ask

The whole piece of code is:
Code:
DAT_OUT.0[1]=~GPIO.3
I think the
Code:
~GPIO.3
part simply sends to GPIO.3

From the manual:

If you don't want MicroCode Studio to interpret a control sequence, but rather send it as normal characters, then just use the tilda symbol (~) in front of the $ or # symbol. For example, letter ~#9712345 would be sent as letter #9712345.
Have I got that bit right?

Dave