Calling object functions using dot instead of colon?

Kristoffer Danielsson <[email protected]>
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <[email protected]>
Stumbled upon this:

http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html

 

Looking at the images, it seems a dot (".") is used instead of a colon (":") when calling functions inside an object/module?

 

How do you accomplish this? I'm used to colon:

 

myObject:foo()

vs

myObject.bar() <--?

 

Thanks

_________________________________________________________________
Hitta hetaste singlarna på MSN Dejting!
http://dejting.se.msn.com/channel/index.aspx?trackingid=1002952

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.