This week's code snippet, Even Odd in Rexx, is brought to you by Subete and the Sample Programs repo.
/* ARG with source string named in REXX program invocation */
arg number
If (DATATYPE(number, 'W') == 0) then signal err
if (number // 2 == 0) then
say "Even"
else
say "Odd"
;exit
Err:
say 'Usage: please input a number'; exitBelow you'll find an up-to-date list of articles by me on The Renegade Coder. For ease of browsing, emojis let you know the article category (i.e., blog: βοΈ, code: π», meta: π, teach: π)
- βοΈ Buying a House Sucks
- βοΈ Smug Yet Unserious
- βοΈ 32 College Stories That Always Make Friends Laugh
- π» Why Does == Sometimes Work on Integer Objects in Java?
- π Online Exams Might Be Cooked
- π Encouraging Attendance With Peer Instruction
- βοΈ Conspiracy Theory: All Pro Sports Are Rigged Now
- π Reflecting on My Teaching Journey Heading into 2026
- π I Hate That Student Feedback Is Now Reviewed by Machine Learning
- βοΈ Not All Code Completion Is Generative AI
Also, here are some fun links you can use to support my work.
This document was automatically rendered on 2026-02-27 using SnakeMD.





