lua-users home
lua-l archive

Re: main function has more than 200 local variables

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Sivan Thiruvengadam wrote:
local GUIERRORBASE = 5000
-- Common Error Returned By BRSTK
local BRSTK_VALIDATION_SUCCESS = 0
local BRSTK_VALIDATION_FAILURE = GUIERRORBASE+1001
<snip>
local BRSTK_END_OF_FILE = GUIERRORBASE+1011
-- It goes like this for 500 variables.
Hmmm, that just cries out for a table...
Ralph

AltStyle によって変換されたページ (->オリジナル) /