Rock-paper-scissors: Difference between revisions

m
→‎extended, 5 choices: corrected a comment's wording.
m (→‎{{header|REXX}}: added/changed whitespace and comments, changed error output(s).)
m (→‎extended, 5 choices: corrected a comment's wording.)
Line 3,576:
@.a1=@.a1+1 /*keep a history of the CBLF's choices.*/
say ! 'computer chose: ' c
if a1==c1 then say ! 'draw.' /*OOh rats! ComputerThe andcontest CBLFended gotup a draw*/
else do who=1 for 2 /*either the computer or the CBLF won. */
if who==2 then parse value a1 c1 with c1 a1