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

Reply via email to