From b877e450b2814c51693f32b9e1f1f33538ef6081 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 17 Feb 2022 17:52:25 -0500 Subject: =?UTF-8?q?Support=20=E2=80=A2Out=20in=20the=20online=20REPL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/repl.js | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/repl.js') diff --git a/docs/repl.js b/docs/repl.js index 23e18e63..501d3b61 100644 --- a/docs/repl.js +++ b/docs/repl.js @@ -31,6 +31,7 @@ let repl = () => { let ssep='', sep = () => doc.rslt.append(ssep); let disp = t => { sep(); ssep='\n'; doc.rslt.append(t); } sysvals.show = (x,w) => { disp(fmt(x)); return x; } + sysvals.out = (x,w) => { disp(req1str("•Out",x,w)); return x; } didInitPlot = 0; try { let c=compile(src); -- cgit v1.2.3