From 09dd4d38eeffac7fd6eaa88a064bdacf99ae875e Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Tue, 24 Dec 2013 01:04:19 +0100 Subject: [PATCH] mjc2wsl - added read command --- src/mjc2wsl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index ee36c51..6813fbf 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -408,6 +408,11 @@ public class mjc2wsl{ } //TODO read, print + case read: { + prl("tempa := @String_To_Num(@Read_Line(Standard_Input_Port));"); + prl(cmdToEStack("tempa")); + break; + } // the prints case bprint: { -- 2.25.1