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
