diff options
Diffstat (limited to 'starts/meaning-vm/habit-starts/rhythm.cpp')
-rw-r--r-- | starts/meaning-vm/habit-starts/rhythm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starts/meaning-vm/habit-starts/rhythm.cpp b/starts/meaning-vm/habit-starts/rhythm.cpp index 0877250..c476006 100644 --- a/starts/meaning-vm/habit-starts/rhythm.cpp +++ b/starts/meaning-vm/habit-starts/rhythm.cpp @@ -68,6 +68,9 @@ int main() "and a three!", "and a four, love" }; + std::cout << beats[b] << std::endl; + b = (b + 1) % (sizeof(beats) / sizeof(*beats)); + }); #if 0 char const * beats[] = { // child <- spawns beauty, creativity, humanity, heart @@ -114,9 +117,6 @@ int main() // says that. } #endif - std::cout << beats[b] << std::endl; - b = (b + 1) % (sizeof(beats) / sizeof(*beats)); - }); ahabit(wait-habit, (), { usleep(micros); |