functionPreviousMessageCodes

ASCII codes of line 2 of a 20x2 display after k new messages: the message before the last when k >= 2, otherwise the former line 1

Inputs

TypeNameDefaultDescription
Integer[:]formerLine1Line 1 before the new messages
StringpayloadMessages separated by line feeds
IntegerkNumber of new messages, the last ones of payload

Outputs

TypeNameDefaultDescription
Integer[size(formerLine1, 1)]codes