PDA

View Full Version : Test from bill legge



Bill Legge
- 29th January 2010, 01:13
Just tryimg out the DT code style:


<font color="#0000FF"><b><i>' sample reserved word and string
' attributes
</i></b></font><font color="#008000"><b>INCLUDE </b></font><font color="#FF0000">&quot;program.bas&quot;

</font><font color="#0000FF"><b><i>' sample reserved word and assembler
' attributes
</i></b></font><font color="#008000"><b>ASM
</b>movwf number
<b>ENDASM

</b></font><font color="#0000FF"><b><i>' sample identifier, reserved word,
' symbol and number attributes
</i></b></font><b>loop: </b><font color="#008000"><b>FOR </b></font><b>index = 1 </b><font color="#008000"><b>TO </b></font><b>5
</b><font color="#008000"><b>SEROUT </b></font><b>B0,N9600,[</b><font color="#FF0000">&quot;hello&quot;</font><b>,13,10]
</b><font color="#008000"><b>NEXT </b></font><b>index
</b><font color="#008000"><b>PAUSE </b></font><b>1000
</b><font color="#008000"><b>GOTO </b></font><b>loop
</b>

Blimey - it worked!

Regards BL