Lostgallifreyan <z.c...@...> writes: > > I added the final call to FeedBack to correctly fill the text fields when it loads, and I thought it looked > cool speaking German this time. :) > > -----------------------------------------------------------------------------
Cool is also one of the favorite words of my grand children. I am pleased to see that you got it working and I now appreciate the usefulness of the spinCntlr. NT={[0] = 'Null', "Eins","Zwei","Drei","Vier","Fünf", … Is valid and give the same result. I recommend that use strict while testing and only use necessary global variables. You will be amazed at the number of time it will shorten your coding cycle. Unless you are like this Australian I worked with once. He wrote an editor on the development machine. I tried to enter a program ask him how you make correction on the line. He said “I do not make typing errors”. This is a slightly modified version of the original. -- -- strict.lua -- checks uses of undeclared global variables -- All global variables must be 'declared' through a regular assignment -- (even assigning nil will do) in a main chunk before being used -- anywhere or assigned to inside a function. -- local mt = getmetatable(_G) if mt == nil then mt = {} setmetatable(_G, mt) end mt.__declared = {} mt.__newindex = function (t, n, v) --"_" is special if n~= '_' and not mt.__declared[n] then local w = debug.getinfo(2, "S").what if w ~= "main" and w ~= "C" then error("assign to undeclared variable '"..n.."'", 2) end mt.__declared[n] = true end rawset(t, n, v) end mt.__index = function (t, n) if not mt.__declared[n] and debug.getinfo(2, "S").what ~= "C" then error("variable '"..n.."' is not declared", 2) end return rawget(t, n) end Good luck Andre ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users