Skip to main content
heyo
Associate III
December 15, 2022
Solved

What is the best way to save data?

  • December 15, 2022
  • 5 replies
  • 2812 views

Hello everyone, I want to ask what is the best way to save data. I understand that I need to use Model to save. I am kind a new in c++ programming so maybe there is a way to save data in model structs? Can someone help me?

for example I want to save all these selected text to model:

0693W00000WL5vbQAD.pngI'm using functions which goes to presenter and when save to model. But I save this texts one by one and it becomes mess. In my project will be a lot of configuration data and I need to somehow save it.

This topic has been closed for replies.
Best answer by Yoann KLEIN

Hello @heyo​ ,

Why not saving all these string values in 2-dimensional Array ? With the first element as your data name and the second as the string you want to save.

/Yoann

5 replies

Yoann KLEIN
Yoann KLEINBest answer
ST Employee
December 19, 2022

Hello @heyo​ ,

Why not saving all these string values in 2-dimensional Array ? With the first element as your data name and the second as the string you want to save.

/Yoann

Yoann KLEINST Software Developer | TouchGFX
heyo
heyoAuthor
Associate III
December 19, 2022

It is possible to save these arrays in model?

Tesla DeLorean
Guru
December 19, 2022

Save it where?

FLASH, BKPRAM, SDCARD, permanently?​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..