Can anyone tell me what is wrong with this ...

hserout [hex2 S[(((L-1)*8)+cnt)]]

It throws a compiling error "Expected ']' or ')']'
Syntax error


There are equal numbers of brackets...?

MW