Yes, indeed, in Jios on this iPad: load 'j/temp/loadbuffer.ijs' +++ try1: loading... --- try1: loaded |syntax error: script | mike=: {{m}}"0 |[-10] /private/var/mobile/Containers/Data/Application/219E805B-EDC1-4B43-858D-814C13F48E94/Documents/j/temp/loadbuffer.ijs I typed this into Ian's predefined try1.ijs a few minutes ago.
BUT the same definition is fine in J9.4 & J9.5, at least in the Windows 11 installation on my laptop. Thanks, Bill Mike Sent from my iPad > On 11 Jul 2023, at 00:57, bill lam <bbill....@gmail.com> wrote: > > A simpler way to demonstrate this issue in iOS > > mi=: {{ m }}"0 > |syntax error > | mi=: {{m}}"0 > > But removing the rank 0, it runs fine > mi=: {{ m }} > > > >> On Tue, 11 Jul 2023 at 12:49 AM 'Mike Day' via Programming < >> programm...@jsoftware.com> wrote: >> >> I'm probably missing the blindingly obvious but why does this happen in >> JIOS on my iPad but not in J903, J9.4 & J9.5 under Windows? >> >> JVERSION >> Engine: j903/j64/iOS >> beta-k: GPL3/2023-04-16T23:21:00 >> Platform: iOS/iPadOS >> Version: 903.2 57 >> Installer: App Store >> Contact: www.jsoftware.com >> >> load'~user/finite.ijs' NB. or any implicit load of finite.ijs >> |syntax error >> | mi=: {{'r0 s0 t0'=:gcd2x m,y...}}"0 >> |[-277] >> /private/var/mobile/Containers/Data/Application/219E805B-EDC1-4B43-858D-814C13F48E94/Documents/j/user/finite.ijs >> >> Here's mi: >> NB. adverb giving divide (inverse) mod m >> mi=: {{ >> 'r0 s0 t0'=:gcd2x m,y >> if. r0=1 do. m|t0 else. 1r0 end. >> : >> m|x*m mi y >> }}"0 >> >> This "syntax error" also occurs when using the alternative method of >> definition, >> mi =: 1 : 0"0 >> ... >> ) >> >> Thanks, >> >> Mike >> >> >> Sent from my iPad >> ---------------------------------------------------------------------- >> 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