Changes between Version 8 and Version 9 of documentation/LuaManual/APIReference

Show
Ignore:
Author:
gambini (IP: 96.38.104.126)
Timestamp:
05/29/12 10:00:47 (5 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/LuaManual/APIReference

    v8 v9  
    445445   Create a new DataFormatter object for use in Lua. ''name'' defaults to an empty string, and ''format_function'' must match the function signature that you would pass to the property ''FormatData''. Both are optional, but if you do not set format_function in ''new'', then you must set it on the property. Where to set the function is solely personal preference, neither is "better" than the other. 
    446446 
    447  '''FormatData'''`   `=function(`{string}') return `string` end:: 
     447 '''FormatData'''`   `=function(`{string}`) return `string` end:: 
    448448   Set this to a Lua function that takes an array of strings, and returns a string. 
    449449