First of all, sorr for my english, i'm from belgium...
i wann make a program -in lua- that when i walk over the street (and my program is working)I can see al the wlan connections .
so i started, but I always get the same error, and i dont understand why...
error: wlan.lua:7: attempt to global 'a' (a table value)
I
Code: Select all
screen:clear()
blue = Color.new(0,40,255)
function wlan( )
Wlan.init()
a = Wlan.getConnectionConfigs()
screen:print(10,10,a.."text",blue )
Wlan.term()
screen.flip( )
end
while true do
wlan( )
pad = Controls.read()
if pad:start() then
break
end
end
thanks a lot