You are very welcome. - Extending a base class... works... including the auto increment every time you set or get a value. From a maintenance point of view though, I'd rather have defined a dataLog object with all this functionality stuck to it. Since it is though a very specific application, there is no issue with that, especially when fitting exactly the context - spread sheet row.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You are very welcome. - Extending a base class... works... including the auto increment every time you set or get a value. From a maintenance point of view though, I'd rather have defined a dataLog object with all this functionality stuck to it. Since it is though a very specific application, there is no issue with that, especially when fitting exactly the context - spread sheet row.