Open Naereen opened 1 day ago
I tried using an example script, that prints some numbers (e.g. this one which prints prime numbers). It does "nothing" while executed once, because I think it is too fast: the numbers are printed then cleaned up and the menu reappears again.
If I add an infinite printing loop at the end, it "works":
while true do
printPrime(100)
end
But the menu isn't cleaned off before launching the script: the menu icons appears, and on top of them on the left-top corner, some number advance very quickly.
Okay, I just saw the https://github.com/nwagyu/lua/blob/master/src/test.lua file in the src/
directory, it's a nice first example I guess :+1:!
The test script included has the same bug as mentioned above :point_up_2:.
Hi there, I found your project quite interesting, but I don't really know what features are supported by the version of Lua embedded in this app. As it doesn't include a text editor and requires to write the script on a computer, then upload both the
lua.nwa
app and the script to the Numworks calculator, providing at least one example (alongside a screenshot) of such script could really be useful! Thanks in advance, if you have the time for this! Regards from France, @Naereen