Spellcheck() function

Posted by Worstje on Wed 26 Nov 2008 10:08 PM — 2 posts, 7,212 views.

Netherlands #0
The documentation has an example in Lua that does not work.

It should be:

result = SpellCheck (
  "Twas brillig, and the slithy toves Did gyre and gimble in the the wabe")

print (type (result))

if result == nil then
  Note "Spell check not available"
elseif result == 0 then
  Note "No spelling errors"
else
 for _, v in pairs(result) do print (v) end
end


In other words, it lacked the pairs().
Australia Forum Administrator #1
OK I'll amend it.