It looks as if the crash might have been a general J701 feature rather than a 
problem with the iPad implementation.  I don't now have J701 on the laptop, but 
do still have a zipped J602 which I reexpanded yesterday, while away from 
WiFi... 

So, it turns out that invocations of f10, memoised with M. , tend to kill J602 
sessions, in an apparently rather random manner, so it's difficult to give 
chapter and verse.

Sorry for the delay in adding this observation, but I'm away from home with 
only occasional access to wi-fi.

(iPad has "corrected" wifi to both "WiFi" and "wi-fi" .... weird!)

Thanks,

Mike

Please reply to [email protected].      
Sent from my iPad

> On 30 Sep 2018, at 19:59, Mike Day <[email protected]> wrote:
> 
> Only Mickey-Mouse stuff which has so far beaten me! I was exploring Project 
> Euler Problem 637,
> https://projecteuler.net › problem=637
> Verb f10 explores base 10, so f10 7 does Euler's required f(n,B) with n=10, 
> B=7. 
> 
> I'm NOT asking for help with the Euler Problem, just pointing out that the 
> following verb fails in J701 for iPad if invoked with M.  for sufficiently 
> large (but not very large!) B, although it is ok, albeit not elegant, in J807 
> under Windows:
> 
> f10 =: 3 : 0 M.
> b   =. 10
> n   =. y
> if. b > n    do. 0 return. end. 
> nb  =. b#.inv n
> if. b > +/nb do. 1 return. end.
> msk =. 1,. }. #:i.2^<:#nb
> new =. ( (+/@:((b&#.);.1)) & nb )"1 msk
> <./ >: f10"0 new
> )
> 
> This runs ok:
>    #f10"0] i.200
> 200
> but this closes J:
>    #f10"0] i.400
> 
> In practice, I just removed the M. and carried on, and have worked up vector 
> versions with look-up arrays and so on, but that's not at issue here.
> 
> Thanks,
> 
> Mike
> 
> 
> 
> 
> Please reply to [email protected].      
> Sent from my iPad
> 
>> On 30 Sep 2018, at 19:26, Henry Rich <[email protected]> wrote:
>> 
>> If you can give an example of the problem I will work on it.
>> 
>> Henry Rich
>> 
>> On Sun, Sep 30, 2018, 2:13 PM 'Mike Day' via General <[email protected]>
>> wrote:
>> 
>>> It seems ok on this one, an iPad Air, running IOS 12.0, though admittedly
>>> I haven't used J701 for iPad much since updating IOS.
>>> 
>>> 2 remarks on this J version:
>>> In the script edit window, when deleting with backspace, the line being
>>> edit skips off screen! Irritating, but manageable if you remember how many
>>> characters need erasure, or with a bit of scrolling;
>>> 
>>> I recently defined an explicit recursive verb exploiting M. , in J807, on
>>> the laptop; transferred to the iPad, invoking this verb with a highish
>>> input, presumably requiring quite a lot of memoing, resulted in J exiting,
>>> though not hanging. It had worked ok on the laptop for an equal-size
>>> problem.
>>> 
>>> Cheers,
>>> 
>>> Mike
>>> 
>>> Please reply to [email protected].
>>> Sent from my iPad
>>> 
>>>> On 30 Sep 2018, at 18:36, 'Jim Russell' via General <
>>> [email protected]> wrote:
>>>> 
>>>> I was disappointed to see that Apple’s changes to iOS seems to have left
>>> the j701 app unable to work in split screen mode: the j/edit/etc icon row
>>> can get lost, dragging (or pasting) text into the input j line fires a left
>>> arrow held cursor repeat. I found an earlier work around using a hold on
>>> the keyboard icon, but that seems no longer available.
>>>> ----------------------------------------------------------------------
>>>> For information about J forums see http://www.jsoftware.com/forums.htm
>>> 
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to