Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Loops-For/Diego/loops-for.diego
Normal file
16
Task/Loops-For/Diego/loops-for.diego
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
set_ns(rosettacode);
|
||||
|
||||
add_var({str},s)_value();
|
||||
add_var({str},output);
|
||||
|
||||
add_for({int},i)_from(1)_uptoand(5)_inc()
|
||||
with_var(s)_v();
|
||||
add_for({int},j)_from(0)_upto([i])_inc()
|
||||
with_var(s)_calc([s]&="*");
|
||||
;
|
||||
with_var(output)_calc(&=[s]&\n);
|
||||
;
|
||||
|
||||
me_msg([output]);
|
||||
|
||||
reset_ns[];
|
||||
Loading…
Add table
Add a link
Reference in a new issue