Did you know this secret of Lua functions?

Пікірлер: 40

  • @nestithelost2812
    @nestithelost28127 ай бұрын

    If anyone wants to know a little more: These are called Varargs, or Variable Arguments. They're present in other languages, and allow you to have a "variable" number of arguments, which usually acts like a list/array. Very useful! ❤

  • @GnomeCode

    @GnomeCode

    7 ай бұрын

    Varargs sounds like a old viking word!

  • @NotLunaSky

    @NotLunaSky

    7 ай бұрын

    Roblox calls them tuples

  • @that1gamerlad98
    @that1gamerlad987 ай бұрын

    Wow... Definitely didn't know this! Another nifty little tool to add to my scripting knowledge. Thanks again Gnome!

  • @GnomeCode

    @GnomeCode

    7 ай бұрын

    Happy to help!

  • @maxenbest_lol0153
    @maxenbest_lol01537 ай бұрын

    Wow! i didn't know about that one

  • @DrDougan
    @DrDougan6 ай бұрын

    This makes adding arguments in functions easier, especially modules.

  • @TeamCraftable2004
    @TeamCraftable20047 ай бұрын

    Stickmasterluke used this in his game tutorial

  • @ardatimeofc
    @ardatimeofc7 ай бұрын

    This feels more like a for loop but on an easier way

  • @GustavoFurtado-Fatal
    @GustavoFurtado-Fatal7 ай бұрын

    I love when people say its a secret function, when is a basic thing all progammers need to learn this

  • @Funnis_stuffOFFICIAL
    @Funnis_stuffOFFICIALАй бұрын

    copilot comes to the rescue

  • @AlexDaRobloxian
    @AlexDaRobloxian7 ай бұрын

    WOW tysm. saving this for my admin commands

  • @anrovlogs2834
    @anrovlogs28347 ай бұрын

    i understand it less than a minute lol in past years i rlly dont understand it

  • @lamastronottelamastronotte4510
    @lamastronottelamastronotte45106 ай бұрын

    Man's programing in lua but don't even have it on his computer

  • @jsnotlout3312
    @jsnotlout33127 ай бұрын

    Ok that is SUPER helpful, thanks!

  • @invalidlol
    @invalidlol7 ай бұрын

    Thats pretty amazing! I didnt know that!

  • @MrCookie_official.
    @MrCookie_official.7 ай бұрын

    good content kept it up!❤

  • @animationguy3521
    @animationguy35217 ай бұрын

    The more you know.

  • @Bonniedabunnyofficial
    @Bonniedabunnyofficial3 ай бұрын

    Yes this will make scripting prints 100x easier

  • @StickmanRaymond1266
    @StickmanRaymond12667 ай бұрын

    this is incredible useful

  • @userhasnotbeenfound9026
    @userhasnotbeenfound90267 ай бұрын

    Thanks! :)

  • @kamaria2006
    @kamaria20067 ай бұрын

    woah this is cool

  • @haloplayss
    @haloplayss7 ай бұрын

    Cheers 🎉

  • @DavidWinstead
    @DavidWinstead7 ай бұрын

    No way...That's awesome!

  • @Hoo123m12
    @Hoo123m12Ай бұрын

    You can just send a table atp

  • @TrumanSirRender
    @TrumanSirRender7 ай бұрын

    Welcome Back

  • @MarzFromMars
    @MarzFromMars3 ай бұрын

    dang thats nice

  • @CityTowerDefenceOwner
    @CityTowerDefenceOwner7 ай бұрын

    Wow nice

  • @unicode3164
    @unicode31646 ай бұрын

    Awesome

  • @Eletroz_
    @Eletroz_7 ай бұрын

    Yo thanks a lot

  • @Xaguest20234
    @Xaguest202347 ай бұрын

    Yo I didn't know that!

  • @cobratr1
    @cobratr17 ай бұрын

    Sounds new to me

  • @AlbertAlbertEinstein
    @AlbertAlbertEinstein7 ай бұрын

    Wow that’s actually nice, i kinda use Roblox AI to help me from me being in trouble, i use it so i won’t steal models.

  • @depderp3010
    @depderp30107 ай бұрын

    This isn't a feature it's basic arguments, ur just using ur table as an argument or perimeter

  • @Yu-Gi-Oh36508
    @Yu-Gi-Oh36508Ай бұрын

    like python *args

  • @gpgamepremiums
    @gpgamepremiumsАй бұрын

    Yes, I know it

  • @liam2795
    @liam27957 ай бұрын

    Dam

  • @SmudgeStudios-ws6xj
    @SmudgeStudios-ws6xj7 ай бұрын

    A HUNGRY PIG TUTORIAL SHOULD EXIST RIGHT NOW DON'T BE LAZY GNOME CODE

  • @rachelpalomino1769
    @rachelpalomino17697 ай бұрын

    The

  • @tomato.mp4
    @tomato.mp47 ай бұрын

    I did