lua-users home
lua-l archive

Re: Question about using lua as config file

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Thanks very much for the suggestion. I think I see how it can work
now. Thanks again.
Steve Woolsey
--- benjamin sunshine-hill <bsunshin@u...> wrote:
> where are the nodes being stored? If they're in a particular table,
it should be as easy as:
> nodes = {} -- global table for all nodes
> function Node(newNode) do
> -- optionally, check input for correctness here
> -- optionally, process input here
> nodes.insert(newNode)
> end
> 
> -- your config file
> 
> Ben

AltStyle によって変換されたページ (->オリジナル) /