phiroc on Mon, 22 Nov 2021 11:42:54 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GP runs on iOS


By the way, when I comment out the last three lines (caesar(s,.., c = ..., print(...), the code works fine.

----- Mail original -----
De: "Bill Allombert" <Bill.Allombert@math.u-bordeaux.fr>
À: "Andreas Enge" <andreas.enge@inria.fr>
Cc: "Philippe de Rochambeau" <phiroc@free.fr>, pari-users@pari.math.u-bordeaux.fr, "laurent facq" <laurent.facq@math.u-bordeaux.fr>
Envoyé: Lundi 22 Novembre 2021 11:20:10
Objet: Re: GP runs on iOS

On Mon, Nov 22, 2021 at 11:11:44AM +0100, Andreas Enge wrote:
> Hello,
> 
> Am Fri, Nov 19, 2021 at 08:10:34AM +0100 schrieb Philippe de Rochambeau:
> > 2) Caesar
> > alphabet = Vecsmall("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
> > get(v,i) = v[((i)%#v)+1]
> > caesar(s,n) = {
> >     n1 = [get(n,i + s) | i <- [0..#n - 1]];
> >     strchr(n1)
> > }
> > c = caesar(3, alphabet)
> > print(c)
> > 
> > On Android, it caused ParidDroid to freeze
> 
> I just tested it on my phone with LineageOS 17.1 (Android 10), and the code
> works without problems. So I do not think it is a problem with PariDroid.

Maybe this is a user interface issue with print ?
Maybe the screen scrolls inexpectedly or something similar ?

Cheers,
Bill.