Package org.luaj.vm2

Examples of org.luaj.vm2.LuaTable.concat()


        int pos = args.narg()>1? args.checkint(2): 0;
        return table.remove(pos);
      }
      case 1: { // "concat" (table [, sep [, i [, j]]]) -> string
        LuaTable table = args.checktable(1);
        return table.concat(
            args.optstring(2,LuaValue.EMPTYSTRING),
            args.optint(3,1),
            args.isvalue(4)? args.checkint(4): table.length() );
      }
      case 2: { // "insert" (table, [pos,] value) -> prev-ele
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.