-
Posted by Frankaladin on Sat, 14 Jun 2008 15:25:34
Just got the book and I'm typing in every example as I go. I just got to page 17 and I'm down to the "Assigning Variables" section. In the book it looks like this... > foo = 14 > print (foo) 14 > foo = "Hello!" > print (foo) Hello! But when I type the commands into the WebLua interpreter it looks like this... > foo = 14 No Output > print (foo) 14 > foo = "Hello!" No Output > print (foo) 14 I can ignore the "No Output" lines, I understand it's just a warning from the interpreter. But once I assign a variable, it sticks and can't be changed. I thought it was because the variables were different types, but even trying to assign a different number to foo doesn't work. P.S. I'm using Windows XP Pro, and IE7. Thanks in advance. --Frankaladin
-
Posted by jnwhiteh on Sat, 14 Jun 2008 15:25:34
Thanks, this was a really obscure bug with the way I'm handling persistence in the web-based Lua interpreter. I was able to fix it thanks to your bug report, so please let me know if you run into any other issues.