Hi Filipe, You just read the data from a serial port, add that to your local variable buffer, increment an index pointer with each received character and read until you receive either a Carriage Return or a Line Feed (one of the will do). I normally also add a timeout to the read function so that it does not hang when nothing is received.
Kind regards, rob ________________________________ Van: [email protected] <[email protected]> namens flyway38 <[email protected]> Verzonden: vrijdag 2 december 2022 12:38 Aan: jallib <[email protected]> Onderwerp: [jallib] Re: Variable Table Append Am trying to mimic a "Read_String" from serial port. Any ideas? Thank you. Regards, FS On Friday, December 2, 2022 at 9:42:34 AM UTC flyway38 wrote: Hello all, Have searched for it but haven't found anything useful. Need to know a good way of appending a variable table. Starting from a MyVar[] = "", then just append data to it... Also what happen to website: https://justanotherlanguage.org/ ? Cannot connect to that website. Thank you very much. Kind regards, Filipe Santos. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/2251b524-7658-42f7-970b-a6817d6709e1n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/2251b524-7658-42f7-970b-a6817d6709e1n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/GVXP195MB163753F00B1BF74F8946C9EEE6179%40GVXP195MB1637.EURP195.PROD.OUTLOOK.COM.
