Use another language to call a function: Difference between revisions

m
Line 766:
This is a Linux solution. Message "Here I am" is encrypted with ROT13: "Urer V nz".
 
ROT13() is implemented as a PARI one-lineliner:<lang parigp>Strchr(Vecsmall(apply(k->if(k>96&&k<123,(k-84)%26+97,if(k>64&&k<91,(k-52)%26+65,k)),Vec(Vecsmall(s)))))</lang>
PARI's interface for Query()... query.c:
Anonymous user