Reading the last line in a Tmemo in delphi
问题 After trying for a very long time .... decided to ask for help. I'm trying to read the last line sent to a Tmemo in Delphi. I'm sending lines of code one by one to a dev. board the dev. board needs different lines of code sent to it every time. My end goal is to read back the last line the dev. board sends back. E.G Set ATT = 7 --->> \sent to dev. board Dev. Board replies O.K <----- \ received from dev. board send next line of code. Or E.R.R send "set att = 7" command again. So far, I've got