This is because in Lua the foo.bar format is a shortcut (syntactic sugar) for a string index "bar" to a table "foo".It seems you can't use dots in names of lua functions. Foo.Txt is not a valid function name. Use FooTxt:
Skin:Script file:Code:
[String]...Text=[&S:FooTxt('Hello')]...
Code:
Foo = {}FooTxt = function(str) return strend
Statistics: Posted by jsmorley — Yesterday, 7:25 pm — Replies 2 — Views 150