psp lua wlan help

A place to post legitimate, console-related project recruitment or commercial employment opportunities.
Post Reply
lucifer
Posts: 1
Joined: Mon Feb 19, 2007 5:32 am

psp lua wlan help

Post by lucifer »

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: 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
I would be very happy could someone give me the good code , or solve my error

thanks a lot
let's have a drink
Post Reply