Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 279721
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:03:24+00:00 2026-05-12T05:03:24+00:00

C# has this and VB has ME . What is the Lua equivalent? I

  • 0

C# has this and VB has ME. What is the Lua equivalent?

I am trying to reference the parent of the script class in Roblox.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:03:24+00:00Added an answer on May 12, 2026 at 5:03 am

    From the Lua documentation section 2.5.9, the self reference is usually self:

    The colon syntax is used for defining methods, that is, functions that
    have an implicit extra parameter self. Thus, the statement

    function t.a.b.c:f (params) body end
    

    is syntactic sugar for

    t.a.b.c.f = function (self, params) body end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All my controller has this code on the top of class. public class TestController
Ruby has this very interesting functionality in which when you create a class with
The documentation for Lua for Wireshark claims that the Tvp class has a new_real()
I'm writing a C app that has an embedded lua script in it. The
I've registered LUA api function by using: lua_register( luaState, someFunc, aaa::someFunc); this function has
Has this happened to anyone? Nothing has changed on my system, yet TFS no
Skitch has this nice effect where it will draw its text on a white
ViM has this option hlsearch where a searched string is displayed in highlight mode
Firefox has this nice find-a-text-on-the-page dialog, which is non-modal and shows up at the
IE9 has this ridiculous blue arrow that's rendered any time the browser window has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.