RPL equivalents to BREAK, CYCLE, EXIT, etc.?
|
06-08-2014, 06:05 PM
Post: #14
|
|||
|
|||
RE: RPL equivalents to BREAK, CYCLE, EXIT, etc.?
(06-08-2014 04:05 PM)DavidM Wrote: Whether using these alternatives makes code more readable/maintainable is a purely subjective issue. In my opinion, it does. This program checks whether a number is prime: Code: \<< 2 OVER \v/ How would you make it more readable? Cheers Thomas PS: I'm aware of the shortcomings of the program. I just wanted to provide an example that is simple but still useful. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)