for(%i = 99; %i > 0; %i--){ %n = %i-1; if(%i == 1) echo(%i SPC "bottle of beer on the wall ~"); else echo(%i SPC "bottles of beer on the wall ~"); echo("Take one down, pass it around,"); if(%n == 1) echo(%n SPC "bottle of beer on the wall."); else echo(%n SPC "bottles of beer on the wall.");}
The page is wrong for a few things like inheritance, which is possible.
We should make a checklist, and maybe a public repository
Sounds good.I believe i did this correctly:http://rosettacode.org/wiki/Apply_a_callback_to_an_array#TorqueScriptApply a call back to an array.
Oh also. They aren't wrong on anything. It's not a list of what's possible or not. It's a list of pages that do not have TorqueScript examples in them.So don't say "prove them wrong."
would you mind putting this:Code: [Select]for(%i = 99; %i > 0; %i--){ %n = %i-1; if(%i == 1) echo(%i SPC "bottle of beer on the wall ~"); else echo(%i SPC "bottles of beer on the wall ~"); echo("Take one down, pass it around,"); if(%n == 1) echo(%n SPC "bottle of beer on the wall."); else echo(%n SPC "bottles of beer on the wall.");}here: http://rosettacode.org/wiki/99_Bottles_of_BeerI'm not interested in going through the trouble of signing up, and you would be saving me a lot of trouble.
oooh. I misunderstood
The purpose of the site is to be something like the "Rosetta stone" but with code. Translating chunks of code from one language to another.