public STRPRM() { head = new strpm(0); head.next = new strpm(1); strpm p = head.next; for (int i = 2; i <= gWork.com.spnum; i++) { p.next = new strpm(i); p = p.next; } }
public string ope_kakko(int x) { if (x == 0) { return(head.prm); } if (x >= gWork.com.spnum) { return(""); } strpm p = head.next; for (int i = 1; i < x; i++) { p = p.next; } return(p.prm); }