of     1   

ServerLabs
#44942291Friday, April 01, 2011 10:59 PM GMT

I'm making a metatable that returns in error in SciTE, however, I need to know the line number it was called in to actually have it seem like a true error. a = {"a"} v = {"v"} setmetatable(a, v) setmetatable(v, {__metatable = "lua: tables:lua:1: Metausage required"}) getmetatable(v) ..if anyone wants to know what 'Metausage' is, it's a secret. ;D "lua: tables:lua:x:" Is there a way I can change 'x' to 5 (the line number getmetatable(v) was used), without actually having to write the number itself?
ServerLabs
#44942517Friday, April 01, 2011 11:02 PM GMT

Bump_to_top_of_forum()
Emess
#44942578Friday, April 01, 2011 11:03 PM GMT

lrn2stackoverflow
Oysi
#44942721Friday, April 01, 2011 11:05 PM GMT

[ Content Deleted ]
ServerLabs
#44942748Friday, April 01, 2011 11:06 PM GMT

wut
ServerLabs
#44942771Friday, April 01, 2011 11:06 PM GMT

No, I don't need it but I want to know it just in case I ever DO need it.
Emess
#44942830Friday, April 01, 2011 11:07 PM GMT

Google: Stack Overflow When you ask a question and get answers, you will be like, "Wow, why did I always go to that stupid roblox scripting helpers forum instead of this? I'm gonna quit that stupid forum and come here from now on!"
ServerLabs
#44943131Friday, April 01, 2011 11:12 PM GMT

naw
Emess
#44943239Friday, April 01, 2011 11:14 PM GMT

kk
ServerLabs
#44943305Friday, April 01, 2011 11:15 PM GMT

It doesn't seem to be as popular, either.
Emess
#44943342Friday, April 01, 2011 11:15 PM GMT

Trust me, it is.

    of     1