Feeds
답변 있음
How can I set multiple variables to the same initial value efficiently?
I found the answer from a friend [a, b, c, d] = deal(5)
How can I set multiple variables to the same initial value efficiently?
I found the answer from a friend [a, b, c, d] = deal(5)
대략 7년 전 | 0
질문
How can I set multiple variables to the same initial value efficiently?
I hate using the following way of defining variables; a= 5, b=a, c=a, d=a, etc I have a lot of variable taking the same intial...
대략 7년 전 | 답변 수: 2 | 0
