gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2906699)
raw | patch | inline | side by side (parent: 2906699)
author | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 19 Jan 2014 19:43:03 +0000 (20:43 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Sun, 19 Jan 2014 19:43:03 +0000 (20:43 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index 16b0e3766a5c721e008097b7f223841b105fae4b..77678a0beafefd26d47cee8adb44ec1bda285194 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
}
// 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));