I have two tables each containing 11 entries of OnTime values ranging from 10 to 1023 mSecs in the master PIC18F4620. These will form a LookDown table in a separate PIC 16F88 once I can figure out how to send the values via a 9600 8,N,1 link.

I need to send these via SEROUT2. SEROUT2 only sends BYTES so I need to break the OT0[x] word values into .BYTE0 and .BYTE1 halves before sending.

A VAR BYTE
B VAR BYTE
C VAR BYTE
OT0 VAR WORD[10] 'Tank 0 Solenoid valve OnTime values at different pressures
OT1 VAR WORD[10] 'Tank 1 Solenoid valve OnTime values at different pressures
DataIO var portc.0 'Bi-directional pressure data to 16F88

This does not work...
serout2 dataio, 84, [ ot0[0].byte0, ot0[0].byte1,_
ot0[1].byte0, ot0[1].byte1, ot0[2].byte0, ot0[2].byte1, _
ot0[3].byte0, ot0[3].byte1, ot0[4].byte0, ot0[4].byte1, _
ot0[5].byte0, ot0[5].byte1, ot0[6].byte0, ot0[6].byte1, _
ot0[7].byte0, ot0[7].byte1, ot0[8].byte0, ot0[8].byte1, _
ot0[9].byte0, ot0[9].byte1, ot0[10].byte0, ot0[10].byte1]

This also does not work ......
for a = 0 to 10
b = OT0[a].byte0
c = OT0[a].byte1
SEROUT2 DataIO, 84, [b, c]
next a

I keep getting 'This style array syntax not supported' I have tried several ways and read the new PBP3 manual pages 272 to 276 but I still can't crack it.

Any help greatly appreciated.

Thanks
BrianT