List Commands Library for 50g
|
07-10-2017, 09:30 PM
(This post was last modified: 07-10-2017 10:04 PM by Gilles59.)
Post: #39
|
|||
|
|||
RE: List Commands Library for 50g
Just one word : " Bravo !"
You create : NL→I - converts a list of numbers to an integer Why not the reciprocal : I→NL - converts an integer to a list of digits (ex : 1230 -> { 1 2 3 0} ) The Joe Horn challenge (All odd digits), could be solve in a very 'natural' way like this ( "All" is a GoferList command) : Code: I→NL << 2 MOD >> All |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)