Jump to content

Spinning rod animation/Text: Difference between revisions

m
The task description now says alternate characters can replace any of the frames and when that's allowed. Also, a note saying the 0.25 second delay assumes the program is running at 60 frames per second has been added to the NS-HUBASIC solution.
m (→‎{{header|NS-HUBASIC}}: NS-HUBASIC example added)
m (The task description now says alternate characters can replace any of the frames and when that's allowed. Also, a note saying the 0.25 second delay assumes the program is running at 60 frames per second has been added to the NS-HUBASIC solution.)
Line 2:
 
;Task:
An animation with the following frames in the following order (if certain characters aren't available or can't be used correctly in the programming language, alternate characters can replace any of these frames) must animate with a delay of 0.25 seconds between each frame, with the previous frame being cleared before the next frame appears: <big>
:* &nbsp; |
:* &nbsp; /
Line 373:
 
=={{header|NS-HUBASIC}}==
The 0.25 second delay assumes the program is running at 60 frames per second.
<lang NS-HUBASIC>10 DIM A(4)
20 A(1)=236
441

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.