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 

Exiting a function

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
Slopey



Joined: 31 Jul 2005
Posts: 24

PostPosted: Thu Aug 25, 2005 9:07 am    Post subject: Exiting a function Reply with quote

Hi All,

I've been right through the Lua docs, and I can't find any way to exit a function prematurely. Is there an exit or other keyword which I'm missing?

Ta,
S.
Back to top
View user's profile Send private message
nevyn



Joined: 31 Jul 2005
Posts: 136
Location: Sweden

PostPosted: Thu Aug 25, 2005 10:28 am    Post subject: Re: Exiting a function Reply with quote

Slopey wrote:
Hi All,

I've been right through the Lua docs, and I can't find any way to exit a function prematurely. Is there an exit or other keyword which I'm missing?

Ta,
S.


Uh.
Code:
return
?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Slopey



Joined: 31 Jul 2005
Posts: 24

PostPosted: Thu Aug 25, 2005 5:57 pm    Post subject: Reply with quote

DOH! My humble apologies. I'll rtfm twice next time. :)

Thanks nevyn!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development 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