forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

psp lua wlan help

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Help Wanted Requests
View previous topic :: View next topic  
Author Message
lucifer



Joined: 19 Feb 2007
Posts: 1

PostPosted: Mon Feb 19, 2007 5:56 am    Post subject: psp lua wlan help Reply with quote

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
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> Help Wanted Requests All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group