Re: New switch/case idea
- Posted by kinz Apr 02, 2009
- 1804 views
DanM said...
kinz said...
<snipped>
Matt, there is one more strange construct with that "do" in 4.0:
loop do a = a * 2 x = x - 1 until x<=0
Why not to use the old good traditional EU style:
do a = a * 2 x = x - 1 until x<=0 end do
Then I'll translate it to Russian with great pleasure:
cycl a = a * 2 x = x - 1 kogda x<=0 -- kogda means when stop cycl
But loop do is absolutelly ugly thing in Russian. Same about do case - ugly as ... I do not know as, sorry.
Is there perhaps a Russian word for "proceed" that would work for you?
"cycle proceed" and "stop cycle" don't look too bad in English.
Yes, why not, detailes depend on context, but Russian "cykl dalee" seems to be good for English "cycle proceed" ("cykl" is better than "cycl" in Russian).
There is interesting thing - the traditional Euphoria syntax is very convenient for adequate translation to Russian. I didn't have any questions to Rob at all.