B
B
Boris Goncharov2020-01-01 10:18:46
Java
Boris Goncharov, 2020-01-01 10:18:46

Setting values, array?

Hello. Faced the problem that I can not set the value as an array. To be honest, I don’t even know how it’s better to fly, I came from php. Suggested code:
//name - the value in which the user's name is written. this.cfg is a public variable which is the configuration. set is a subfunction of the Config class that sets a value. I don't know what it is, okay.
this.cfg.set(name, [1, 1,1]);
//tell me how to implement something like this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2020-01-01
@sergey-gornostaev

5e0c9b149dee5961489529.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question