Help functions for customized help

Iguana includes help functions that allow you to create help for your own library code. You can also change the help for built-in functions, if needed.


To change the help displayed above for help.set:

function main()
   local h = help.get(help.set)
   h.Desc = 'I changed the description'
   h.Usage = 'You have to guess'
   h.Examples = nil
   h.Parameters = nil

   help.set{input_function=help.set, help_data=h}

   -- reset to built in help  


Here is the result:

See also:

Leave A Comment?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.