Nulllam Permute (HP49G/49G+)

NLperm (short-cut of the program) has the stack diagram

String {Permutation} → String'.

Only the commands nGETLAM and nPUTLAM are affected where n occurs in the permutation list.´{permutation} is a list of pairwise distinct reals or zints representing the permution.

E.g., { 3 1 4 2 } will rename 1GETLAM into 3GETLAM and 1PUTLAM into 3PUTLAM. And so on through the whole permutation.

Wolfgang Rautenberg