ApisNecros 1 rok pred
rodič
commit
ccbfe85c8d
1 zmenil súbory, kde vykonal 6 pridanie a 0 odobranie
  1. 6 0
      starfish.js

+ 6 - 0
starfish.js

@@ -457,6 +457,12 @@ class CodeBox {
                 case "p":
                     this.PlaceIntoCodeBox();
                     break;
+                // Functions
+                case ".": {
+                    this.pointer.Y = this.stacks[this.curr_stack].Pop();
+                    this.pointer.X = this.stacks[this.curr_stack].Pop();
+                    break;
+                }
                 // End execution
                 case ";":
                     output = true;