2
$\begingroup$

If I enter the following through mathematica (11.0) through UI $$\begin{cases} 1 &x \geq 0 \\ 0 &True \end{cases}$$ No error is reported. $$\begin{cases} 1 &x \geq 0 \\ 0 &True \end{cases} //InputForm$$ returns Piecewise[{{1, x >= 0}}, 0] However If I enter the same when the notebook is in debug mode it gives error

Syntax::sntxi: Incomplete expression; more input is needed .

So as it seems some syntax is incorrect on debug mode, correct otherwise. Is the systax correct or wrong ?

$\endgroup$
  • 1
    $\begingroup$ I can reproduce the problem. Can you report this to Wolfram Support? $\endgroup$ – Szabolcs Apr 10 '17 at 9:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.