Post Reply 
(42S) challenge: repeat a character N times
01-15-2018, 03:20 PM
Post: #5
RE: (42S) challenge: repeat a character N times
(01-15-2018 03:18 PM)Didier Lachieze Wrote:  
(01-15-2018 03:13 PM)Thomas Okken Wrote:  Nice, but it has one small bug: when N > 0, it puts one character too many in A, because it appends N characters to the one that's already there.

It works fine because ATOX removes one character from the Alpha register, so we end up we the right number of characters in A.

You're right, my apologies! Bug report withdrawn.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (42S) challenge: repeat a character N times - Thomas Okken - 01-15-2018 03:20 PM



User(s) browsing this thread: 2 Guest(s)