I want to store a (struct) within an (array)
I want to return an array of strings string[ ] b; with the serials within the new array [ ], but it breaks, it doesn't show a syntax error but an internal error, my question is why is this happening?
this is my code
:
Mar 17, 2020, 11:00 PM
thanks
yes, that's where he dies ;(
Mar 17, 2020, 11:17 PM
Easy fix!
Glad I could help. Feel free to DM me if you run into other problems.
Mar 17, 2020, 11:18 PM
I changed the length to 3, but it's still wrong!
Mar 17, 2020, 11:20 PM
for (uint256 i = 0; i<3; i++){
Mar 17, 2020, 11:20 PM
no, don't hardcode the length...use your variable "a"
I tried it on remix and it works fine.
Mar 17, 2020, 11:22 PM
Sorry, I didn't see the 256, I'll try it
Mar 17, 2020, 11:22 PM
que tonto soy, quizás necesito un poco de aire jaja
What a fool I am, maybe I need some air jejeje
Mar 17, 2020, 11:26 PM
el aire siempre es bueno
Mar 17, 2020, 11:26 PM
gracias amigo, saludos desde colombia
Mar 17, 2020, 11:26 PM
no hay de que. Tambien saludos desde los EEUU
Mar 17, 2020, 11:27 PM
Thank you, my friend.
Mar 17, 2020, 11:27 PM
+
Mar 17, 2020, 11:27 PM