problem with floating point literal
Posted: Tue Dec 16, 2008 12:27 pm
The following program does not work
I get the error "; expected at line 4"
Seems like a parser problem to me. It works fine if I remove the "f" at the end of the literal, or if I change it to "0.00001f".
Regards,
Manuel
class Test
def main is shared
x = 0.00001f # line 4
print x
I get the error "; expected at line 4"
Seems like a parser problem to me. It works fine if I remove the "f" at the end of the literal, or if I change it to "0.00001f".
Regards,
Manuel