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
Printable View
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
Hi,
That just looks wrong....What's it supposed to do?
I don't think you should use square brackets "inside" the actual statement, only enclosing it - and perhaps there's a missing comma?
But again, not easy to say withoyt knowing what's it supposed to do.Code:HSEROUT [hex2 S, (((L-1)*8)+cnt)]
/Henrik.
Hi - Thanks for your reply. Tried it again having replaced all but the outermost brackets with ( or ) and it has fixed it. Of course, now I get some different errors. Haven't a clue what I'm doing really! If I get stuck again "I'll be back!" as they say. It's a bit of a steep learning curve after VB6. MW