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: f44fa74)
raw | patch | inline | side by side (parent: f44fa74)
author | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 13 Jan 2014 18:51:07 +0000 (19:51 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Mon, 13 Jan 2014 19:10:45 +0000 (20:10 +0100) |
src/mjc2wsl.java | patch | blob | history |
diff --git a/src/mjc2wsl.java b/src/mjc2wsl.java
index df846c95e9ebe360daa6364dbd318b1f12ae6b5e..c8da105e4bff4a081b92d20fd690f4a16f6fbc64 100644 (file)
--- a/src/mjc2wsl.java
+++ b/src/mjc2wsl.java
}
// read, print
- case bread:
- case read: {
+ case read:{
//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: {
prl("tempa := @String_To_Num(@Read_Line(Standard_Input_Port));");
prl(cmdToEStack("tempa"));
break;
}
// the prints
- case bprint:
- case print: {
+ case print:{
// 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: {
// TODO printing numbers needs different lengths of spacing
prl(getTopTwo());
pr(createComment("print spacing",C_SPEC));