Copying a struct

  • CoderDude

    CoderDude - 2018-02-16

    How to easiest copy the values of one struct to another of the same type? In C/C++ the assignment operator does this job but it seems this is not how it works in ST. Do I need to specify a specific copy function for each struct?

  • Anonymous - 2018-02-22

    Originally created by: scott_cunningham

    You basically need to perform a byte copy. See this post:


Log in to post a comment.