USING: help.markup help.syntax ;
IN: animations
-HELP: animate ( quot duration -- )
+HELP: animate
{ $values
{ "quot" "a quot which uses " { $link progress } }
"1/20 seconds animate ;"
"46 ms elapsed\n17 ms elapsed"
}
- { $notes "The amount of time elapsed between these iterations will very." }
+ { $notes "The amount of time elapsed between these iterations will vary." }
} ;
-HELP: reset-progress ( -- )
+HELP: reset-progress
{ $description
"Initiates the timer. Call this before using "
"a loop which makes use of " { $link progress } "."
"times ;"
"31 ms elapsed\n18 ms elapsed\n16 ms elapsed"
}
- { $notes "The amount of time elapsed between these iterations will very." }
+ { $notes "The amount of time elapsed between these iterations will vary." }
} ;
ARTICLE: "animations" "Animations"
"used when one's quote runs for a specific number of iterations, instead "
"of a length of time. If the animation is like most, and is expected to "
"run for a specific length of time, " { $link animate } " should be used." ;
-ABOUT: "animations"
\ No newline at end of file
+ABOUT: "animations"