WolframResearch / WolframLanguageForJupyter

Wolfram Language kernel for Jupyter notebooks
MIT License
1.05k stars 126 forks source link

The "%" character does not store the last output if a semicolon is used #113

Open petergthatsme opened 3 years ago

petergthatsme commented 3 years ago

The "%" character should store the results of last output, but it does not if a semicolon is used (in contrast to what happens in a standard mathematica notebook). This example (and screenshot below) show the problem:

(* output from both lines is seen *)
Sin[x]^3+Cos[y]^2
TrigReduce[%]

(* see no out put here, but should see output from second line *)
Sin[x]^3+Cos[y]^2; 
TrigReduce[]

image