News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Calling object and calling function in murgaLua...
Author Message
Junior Member

Posts: 5
Group: Registered
Joined: May 2012
Status: Offline
Reputation: 0
Post: #1
Calling object and calling function in murgaLua...

I noticed that we can call most of muraLua functions in this way :

fltk.Fl_Window(x, y, width, height, "Title")

instead of :

fltk:Fl_Window(x, y, width, height, "Title")

( see the dot . instead of the colon : ), but obviously only for murgaLua functions, not for calling an object method.

win = fltk.Fl_Window(x, y, width, height, "Title")

Personally, I find it's clearer and more coherent.

This post was last modified: 10-01-2014 08:54 PM by Bereb.

10-01-2014 08:53 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: