Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
snippets:r:start [2011/05/30 08:54] – created frlan | snippets:r:start [2020/09/20 19:25] – Another looping snippets alaannn | ||
---|---|---|---|
Line 3: | Line 3: | ||
# Looping and iterative snippets | # Looping and iterative snippets | ||
for=for(%cursor% in %cursor%)%block_cursor% | for=for(%cursor% in %cursor%)%block_cursor% | ||
+ | while=while(%cursor% == %cursor%)%block_cursor% | ||
+ | if=if(%cursor% == %cursor%)%block_cursor% | ||
+ | ifelse=if(%cursor% == %cursor%)%block_cursor%else%block_cursor% | ||
apply=apply(%cursor%, | apply=apply(%cursor%, | ||
sapply=sapply(%cursor%, | sapply=sapply(%cursor%, |