You use the exact same method to access the variable as you do later in your code to use that variable. If your value is stored in the table MyDB in the subtable MyDB.profile.value then you would use that in your get function.
get = function() return MyDB.profile.value end,
Unless we are all confused on what you actually need?
I'm too ill to remember the 'info' contents offhand, so I can only suggest some debugging: In your get function, print() out the actual values of #info, #info-1, and info[#info-1]. Also print the return value of type() for each of the three.
If those are correct, then the code shown should work. If it isn't, then you'll need to show more code.
Yep, I think it's just a communication issue. No offense to all.
Everything presented is not answering the question
Sorry, I was too brief.
My point is that your get and set methods are based on the info argument and thus may be a bit complicated because of the variable part. So my questions were : Are you sure that these methods are actually accessing the right part of your settings ? Is this what you want ? And are the settings properly filled with default values at these places ?
And the answer is obviously yes, it should display the default values, because default values are no different from values set by the user from the GUI point of view. AceDB and AceOptions are functionally independent from each other ; there is no invisible, magical things between them. If it is not working, either the default values are not in place, either your get and set methods are failing to access to the table properly.