From: Doni Pracner Date: Tue, 24 Dec 2013 00:04:19 +0000 (+0100) Subject: mjc2wsl - added read command X-Git-Tag: v0.1.4~52 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=09dd4d38eeffac7fd6eaa88a064bdacf99ae875e;p=mjc2wsl.git mjc2wsl - added read command --- 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: {