Hi Guys,

I have a problem with is probably Sunday morning foggy head, but I cannot remember for the life of me how to assign values to an array. What I want to do is load up a 65 byte array with 0s that will then be changes based on a RS232 command that comes in.

The issues I have is with trying to assign values as part of a for-next loop:

<code>
ch[64] var byte

for x = 0 to 63
ch[x] = 0
next
</code>

This gives me a compile error, as does ch(x) = 0.
I have checked the manual and tried searching the forums, but can find nothing useful.

Help !!

bill.