News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Spelling/Typing Practice
Author Message
Senior Member

Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #1
RE: Spelling/Typing Practice

Interestingly I've been trying various typing programs very recently hoping to get my speed and accuracy back where it was in school.

First test, I got an error at the end of the lists.
Full output:

/home/deb/bin/murgaLua: /home/deb/bin/igame3d-spelling.lua:105: attempt to index field '?' (a nil value)
stack traceback:
        /home/deb/bin/igame3d-spelling.lua:105: in function </home/deb/bin/igame3d-spelling.lua:74>
        [C]: in function 'run'
        /home/deb/bin/igame3d-spelling.lua:214: in main chunk
        [C]: ?

105> WordInput:label(spellingLists[unitDepth][listDepth])
After that it would not run until I deleted CurrentUnitCurrentWord.txt

If you want to try coding keywords, murgaLua at least should be fairly easy to create lists for at runtime.


for i,v in pairs({math,alien,sys,fltk}) do
for ii,vv in pairs(v) do table.insert(spellingLists[i],ii) end

EDIT: looped the second part for ease of use
EDIT2: optimization

This post was last modified: 04-19-2010 02:44 PM by mikshaw.

04-19-2010 01:32 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Spelling/Typing Practice - iGame3D - 04-19-2010, 11:00 AM
RE: Spelling/Typing Practice - mikshaw - 04-19-2010 01:32 PM
RE: Spelling/Typing Practice - iGame3D - 04-19-2010, 06:04 PM
RE: Spelling/Typing Practice - mikshaw - 04-22-2010, 03:34 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: