Jump to content

Help


Recommended Posts

Posted

i want to get value of settings from meta 
when i get it , it gets i debug ( stack overflew )
 

function get()
    if get ( "Sett" ) then
        return get ( "Sett" )
    end
end


--- meta

    <setting name="*Sett" value="L" />

 

Posted

That's because you named your function get() so when you call get() at line 3, you will call your function at line 1 and when you get to line 3 again, you call line 1... Rename your function to getSettings() or something at line 1.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...