From bfa6f5cb35fa27845f7bdf72f2238f987bf6e83b Mon Sep 17 00:00:00 2001 From: Doni Pracner Date: Sun, 19 Jan 2014 20:43:03 +0100 Subject: [PATCH] mjc2wsl - FIX num-char print-read were the other way around --- src/mjc2wsl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java index 16b0e37..77678a0 100644 --- a/src/mjc2wsl.java +++ b/src/mjc2wsl.java @@ -486,24 +486,24 @@ public class mjc2wsl{ } // read, print - case read:{ + case bread:{ //TODO make it a char for read message("char is read like a number", M_WAR); prl(createComment("char is read like a number",C_SPEC)); } - case bread: { + case read: { prl("tempa := @String_To_Num(@Read_Line(Standard_Input_Port));"); prl(cmdToEStack("tempa")); break; } // the prints - case print:{ + case bprint:{ // TODO need to make it a char on print message("chars will be printed as number codes", M_WAR); prl(createComment("char will be printed as a number code",C_SPEC)); } - case bprint: { + case print: { // TODO printing numbers needs different lengths of spacing prl(getTopTwo()); pr(createComment("print spacing",C_SPEC)); -- 2.25.1