![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 286 Pomógł: 46 Dołączył: 10.01.2016 Ostrzeżenie: (0%) ![]() ![]() |
Mam takiego if'a: $a = true ? 0 : true ? 1 : 2;
Chcę to zrobić na postać: if(){ }elseif(){ }else{ }; Ten post edytował Neutral 14.08.2016, 14:37:51 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 8 068 Pomógł: 1414 Dołączył: 26.10.2005 Ostrzeżenie: (0%) ![]() ![]() |
a w czym problem?
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 286 Pomógł: 46 Dołączył: 10.01.2016 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 1 240 Pomógł: 278 Dołączył: 11.03.2008 Ostrzeżenie: (0%) ![]() ![]() |
Potraktuj to w ten sposób:
Kod (true ? 0 : true) ? 1 : 2
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 25.08.2025 - 06:45 |