We Recommend

Beginning VB.NET Beginning VB.NET
Visual Basic .NET is the latest version of the most widely used programming language in the world, popular with professional developers and complete beginners alike. This book will teach you Visual Basic .NET from first principles. You'll quickly and easily learn how to write Visual Basic .NET code and create attractive windows and forms for the users of your applications.


Posted By

yuconner on 09/19/07


Tagged

hacks


Versions (?)


awful hack to perform early returns in lua


Published in: Lua 


a simple return statement seems no work


  1. do return end
  2.  
  3. -- example:
  4. function foo:test()
  5.  
  6. --some work
  7.  
  8. do return end
  9.  
  10. --something avoided
  11.  
  12. end

Report this snippet 

You need to login to post a comment.