Hmm....
I compiled and ran the code from marc and it worked fine. Yesterday before I posted I was lazy and stuck in :
to eclipse to see if I would get an error and low and behold I did, however with further investigation it was an error telling me "Unreachable Code"
for the semicolon, not that it was illegal.
it appears I am wrong, Chandras however does not compile.
[ June 01, 2007: Message edited by: Barry Gaunt ]