Whilst using this I raised an eyebrow over the use of Whitespace and the splitting of code in general over multiple lines, given this code works compiles and runs fine for me.
Code: Select all
mui.Set("evo_functionlibrary",
"disabled", False,
"active", "top"
)
Code: Select all
Function base:Ellipsis(s$, len)
Return (
IIf( StrLen(s$) > len,
LeftStr(s$, len) .. "...",
""
)
)
EndFunction
What a revelation!
Andreas, unless I missed it way back when learning HW, is there a section in the main documentation about how we can freely use whitespace and carriage returns in this manner? Would be a useful addition.