Anonymous user
Magic 8-ball: Difference between revisions
m
→{{header|uBasic/4tH}}
imported>Maxima enthusiast No edit summary |
imported>Thebeez |
||
Line 2,735:
=={{header|uBasic/4tH}}==
{{works with|version 3.64.0}}
<syntaxhighlight lang="basic">Push
Push
Push
Push
Push
Push
Push
Push
' read the replies
For x = 0 to Used() - 1 : @(x) = Pop(): Next
Line 2,752:
Print Show(@(Rnd(x))) : Print ' show the reply
Loop</syntaxhighlight>
=={{header|UNIX Shell}}==
{{works with|Bourne Again Shell}}
|