lucifer
Joined: 19 Feb 2007 Posts: 1
|
Posted: Mon Feb 19, 2007 5:56 am Post subject: psp lua wlan help |
|
|
hii all.
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: | 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 |
I would be very happy could someone give me the good code , or solve my error
thanks a lot _________________ let's have a drink |
|