0 Members and 2 Guests are viewing this topic.
det(0,"ZZ",5 //create the program ZZdet(5,"rowswap("+Str1,1 //copy the first line from the appvar named in Str1det(6,"ZZ",Ans,1 //copy the first line into program ZZprgmZZ //run program ZZ to get the answer in the first lineAns->U //store the amount of lines to run to the real Udet(0,"ZZ",4 //delete the program ZZFor(V,1,U) //loop for the amount of lines specified in the first line of the appvardet(0,"ZZ",5 //create the program ZZdet(5,"rowswap("+Str1,V+1 //get the line specified in the real Vdet(6,"ZZ",Ans,1 //store the line to program ZZprgmZZ //run the program ZZ to execute the code we just grabbeddet(0,"ZZ",4 //delete the program ZZEnd //end the loop
det(0,"ZZ",5 //create the program ZZdet(23,"rowswap("+Str1,Ans //create indexdet(24,"rowswap("+Str1,Str1,1 //copy the first line from the appvar named in Str1det(6,"ZZ",Ans,1 //copy the first line into program ZZprgmZZ //run program ZZ to get the answer in the first lineAns->U //store the amount of lines to run to the real Udet(0,"ZZ",4 //delete the program ZZFor(V,1,U) //loop for the amount of lines specified in the first line of the appvardet(0,"ZZ",5 //create the program ZZdet(5,"rowswap("+Str1,Str1,V+1 //get the line specified in the real Vdet(6,"ZZ",Ans,1 //store the line to program ZZprgmZZ //run the program ZZ to execute the code we just grabbeddet(0,"ZZ",4 //delete the program ZZEnd //end the loopdet(0,Str1,4 //delete the index