of     1   

HaxHelper
#123202424Wednesday, January 15, 2014 8:54 PM GMT

why isn't it "include()"
NVI
#123202499Wednesday, January 15, 2014 8:55 PM GMT

Because it's Lua.
dogwarrior24
#123202511Wednesday, January 15, 2014 8:55 PM GMT

Because your whiny.
Alyte
#123202590Wednesday, January 15, 2014 8:56 PM GMT

facepalm
HaxHelper
#123202621Wednesday, January 15, 2014 8:57 PM GMT

:^) (^: this is going to bug me to no end
TheLuaWeaver
#123204125Wednesday, January 15, 2014 9:16 PM GMT

There's a difference between require and include. Include should give a warning if it can't do it, require should error. It makes sense: require _requires_ it to be there, include just adds it. Unfortunately, we get no include. ~LuaWeaver; Programmer, gamer, developer.
awsumpwner27
#123204223Wednesday, January 15, 2014 9:17 PM GMT

include is not a feature of standard Lua, and require is.
NVI
#123204290Wednesday, January 15, 2014 9:18 PM GMT

function include(mod) local success,ret=pcall(function() require(mod) end) if not success then print(ret) return nil end return ret end
AndroidKitKat
#123207313Wednesday, January 15, 2014 9:56 PM GMT

Include only exists in compiling. Using a require makes a subroutine to the other script. (Anyone might want to confirm this? This is how I understood it.) EOS db 0x00 ;End of String Marker
NVI
#123209836Wednesday, January 15, 2014 10:23 PM GMT

In Roblox, require() executes a ModuleScript and returns whatever the chunk that makes up that ModuleScript returns.

    of     1