[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Apologies for bad formatting: lecture slides etc.
- From: Gabriel Bertilson <arboreous.philologist@...>
- Date: Thu, 8 Nov 2018 13:11:08 -0600
Oops, you're right, I did forget to add an equals sign. 😔 Sorry for
On Thu, Nov 8, 2018 at 5:39 AM Roberto Ierusalimschy
> > It is apparently not a valid number in Lua 5.1 though, where I get a
> > syntax error "unexpected symbol near 1e-4". So maybe you're using Lua
> > 5.1, not 5.3?
> 1e-4 is a valid Lua number since day one (version 1.0). Maybe you forgot
> the '=' to print it? (Until version 5.2, Lua did not directly read/print
> expressions in interactive mode. You have to prefix them with a '='.)
> -- Roberto