Hva er variablene x, y og z bundet til etter at følgende script er kjørt?
Code Block |
---|
a = 1; switch a + 2 case 1 x = 1; case 1+1 y = 1; case {3, 4, 5} z = 1; otherwise x = 1; y = 2; z = 3; end |
Videoforklaring (4:06)
Widget Connector | ||
---|---|---|
|
Svar
Expand | ||
---|---|---|
| ||
x og y er ubundet, z er bundet til verdien 1. |