You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
##
// if внутри if работает
var s1 := if if true then true else false then 'abc' else 'def';
// ?: внутри ?: работает
var s2 := true ? true : false ? 'abc' : 'def';
// Со скобками работает
var s3 := if (true ? true : false) then 'abc' else 'def';
//Ошибка: Встречено '?', а ожидалось then
var s4 := if true ? true : false then 'abc' else 'def';
// Со скобками работает
var s5 := (if true then true else false) ? 'abc' : 'def';
//Ошибка: Встречено '?', а ожидалось ';'
var s6 := if true then true else false ? 'abc' : 'def';
The text was updated successfully, but these errors were encountered:
http://forum.mmcs.sfedu.ru/t/zamechaniya-i-predlozheniya/143/2039
The text was updated successfully, but these errors were encountered: