-->
Page 1 of 2

0.9.5 build 20150127 Lua 5.1.4 files broken

PostPosted: Mon Jan 26, 2015 1:09 pm
by picstart
Now it is not all bad since floating point is working at least for basic tests......The file system or string.format appears broken

NodeMCU 0.9.5 build 20150127 powered by Lua 5.1.4

uart.setup(0,9600,8,0,1,0)
> > >
Monday, January 26, 2015 13:01:52


Text upload: C:\Electparts\WiFi\flash programmer\lua\LLbin.lua

> > > > > > > >
639 bytes uploaded to LLbin.lua

> > = node.heap()
23400
> for k,v in pairs(file.list()) do l = string.format("%-15s",k) print(l.." "..v.." bytes") end

15s 639 bytes
>

Re: 0.9.5 build 20150127 Lua 5.1.4 files broken

PostPosted: Mon Jan 26, 2015 2:26 pm
by Hans174
Confirmation: string.format is not longer with us.

The integer in the table t is not typed out.

Code: Select all
> = string.format("%i, ", t[i])
>,


Re: 0.9.5 build 20150127 Lua 5.1.4 files broken

PostPosted: Tue Jan 27, 2015 8:22 am
by zeroday
I have put this to the issue list.
currently disable float by define
#define LUA_NUMBER_INTEGRAL
in user_config.h line 70

Re: 0.9.5 build 20150127 Lua 5.1.4 files broken

PostPosted: Tue Jan 27, 2015 8:52 am
by zeroday
zeroday wrote:I have put this to the issue list.
currently disable float by define
#define LUA_NUMBER_INTEGRAL
in user_config.h line 70


add a quick fix to this, pls try.