VAR CurrentSet, PageSize, Cutflag, Totalbyte, Pagecount, Flag, Key, Temptext, Temppage; Key = ""; CurrentSet = 0; Totalbyte = text.length; Flag = 0; IF (Flag == 0) {Pagesize = 1500; } else {pageSize = 2000;} pagecount = math.round (Totalbyte / PageSize); if (Parsefloat ("0." Totalbyte% Pagesize> 0) {if (Parsefloat ("0." Totalbyte% Pagesize) < 0.5) {pageCount = PageCount 1;}} var Pagenum = New Array (PageCount 1); Pagenum [0] = 0; VAR SDRV1, SDRV2, SDRV3, SDRV4, SFLAG; VAR SDRVL, STEML; VAR STEM1, STEM2, K; sflag = 0; for (j = 1; j