Andreas Enge on Mon, 22 Nov 2021 11:55:05 +0100


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

Re: GP runs on iOS


Am Fri, Nov 19, 2021 at 08:10:34AM +0100 schrieb Philippe de Rochambeau:
> caesar(s,n) = {
>     n1 = [get(n,i + s) | i <- [0..#n - 1]];
>     strchr(n1)
> }

Probably these lines pose problems; the input field of PariDroid does not
support multiline input with braces. However this should result in an error
message as each line is interpreted separately, rather than freeze.

For longer programs I would suggest to use an editor and to read the code
with the menu item "Read". It is also useful for making modifications,
or for typing the code on a computer with keyboard and sending it to the
Android device. And then multiline input with braces is also fine.

Andreas