Hi Chris,

To justify the use of the CALL POKELONG and ADDRLONG functions in my code, these functions allow for comparing 2/3/4 digits,...etc. by simply changing the array element (array ct [20] $1 _temporary_;) size from $1 to $2/$3/$4,...and so forth.

While I understand the task was to find the largest digit using the least code statements, if I'm not mistaken my approach is the only approach that can achieve multiple digit comparison with a single code change ;-)

Just my 2 cents,
Ahmed