AnsweredAssumed Answered

20 var globals   vs   1json (1 var.glob.) with 20 elements

Question asked by Draco on Jan 23, 2019
Latest reply on Jan 23, 2019 by comment

Hi,,,, a question

I need to store 20 character strings of the type "000000000000",... "000100110000" ... "101100110011",... which will be used frequently. The use of these strings will be :

-> extract one of the characters ( ex: red ) and verify its value,...if it is 1 it performs Z, if it is 0 it performs Y.

 

Question

According to your experience, which recommends me,... I use 20 global variables (one for each string) or a 1 global variable with a json and 20 elements inside ?

 

regards

Draco

Outcomes