[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>

I'm wondering what I can do with a Proc generated by

17 messages 2003/04/06

0 prefix in floats ?

From: Mathieu Bouchard <matju@...>
Date: 2003-04-24 06:02:51 UTC
List: ruby-core #985
.5
#<SyntaxError: (eval):1: compile error
(eval):1: no .<digit> floating literal anymore; put 0 before dot
(eval):1: parse error>
        /home/matju/bin/iruby:57

May I know what happened with floats written like ".5" ? why is that
syntax no longer supported ?

________________________________________________________________
Mathieu Bouchard                       http://artengine.ca/matju


In This Thread

Prev Next