Search Results

Search found 1 results on 1 pages for 'nali4freedom'.

Page 1/1 | 1 

  • _REQUIREDNAME always nil

    - by Nali4Freedom
    I'm trying to use the method for naming a lua package after the filename mentioned here, however _REQUIREDNAME is never defined. For example I have these two files samplePackage.lua: print("_REQUIREDNAME: ", _REQUIREDNAME) return nil; packageTest.lua: require "samplePackage" And when I run packageTest.lua it outputs > _REQUIREDNAME: nil I also couldn't find any mention of _REQUIREDNAME in the Lua 5.1 Refrence manual, so was this removed from the language, or am I missing something?

    Read the article

1