lua-users home
lua-l archive

Re: String access & metamethods

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


> if language == "German" then
> DidNotWork = "Operasie het nie geslaag nie"
> NoAnswer = "Antwoord nie gefind nie"
> elseif language == "Martian" then
> DidNotWork = "Pqfsbtjf!ifu!ojf!hftmbbh!ojf"
> NoAnswer = "Bouxppse!ojf!hfgjoe!ojf"
> else -- default to English
> DidNotWork = "Operation did not succeed"
> NoAnswer = "No answer found"
> end
That Martian bit is spot on, obviously. But I'm afraid the German section still needs some work [;-)].
Ashwin.
-- 
no signature is a signature.

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