- b2.add(parserLine, LITERAL, string); // declare the name
- b2.add(parserLine, DECLARE);
-
- b2.add(parserLine, LITERAL, new Integer(numArgs)); // retrieve it from the arguments array
- b2.add(parserLine, GET_PRESERVE);
- b2.add(parserLine, SWAP);
- b2.add(parserLine, POP);
-
- b2.add(parserLine, TOPSCOPE); // put it to the current scope
+ b2.add(parserLine, DUP); // dup the args array
+ b2.add(parserLine, GET, new Integer(numArgs)); // retrieve it from the arguments array
+ b2.add(parserLine, TOPSCOPE);