[Jprogramming] Bond mystery
Ed Gottsman
edward.j.gottsman at gmail.com
Mon May 2 07:12:15 UTC 2022
Rob,
Thanks for the fast reply. I get automatic App Store upgrades, so I’m current on my version…and cannot (AFAIK) try anything else on my iPad.
It’s not a fatal problem—all of the boxed strings are the same length both before and after the -.&’012’ application. As a result, you can raze, -.&’012’ and then rebox—you don’t actually need to “each.”
Should have included this in the original post:
Engine: j903/j64/iOS
beta-k: GPL3/2021-10-15T01:07:05
Platform: iOS/iPadOS
Version: 901.1 49
Installer: App Store
Contact: www.jsoftware.com
Thanks.
Ed
Sent from my iPad
> On May 2, 2022, at 7:31 AM, 'Rob Hodgkinson' via Programming <programming at jsoftware.com> wrote:
>
> Ed, I just checked against my J902 install (I don’t have a later install right now) and see correct result:
>
> JVERSION
> Engine: j902/j64avx2/darwin
> Beta-l: commercial/2020-11-05T14:07:25
> Library: 9.02.08
> Qt IDE: 1.8.7/5.12.7(5.12.7)
> Platform: Darwin 64
> Installer: J902 install
> InstallPath: /users/rob/j902
> Contact: www.jsoftware.com
>
> result =: 'a0b0o1d2e0'
> result -. '0'
> abo1d2e
> -.&'0' result
> abo1d2e
> result -. '012'
> abode
> -.&'012' result
> abode
>
> Perhaps an issue in J901 and/or iPad version … are you able to upgrade to J902+ confirm ? …/Rob
>
>> On 2 May 2022, at 4:14 pm, Ed Gottsman <edward.j.gottsman at gmail.com> wrote:
>>
>> Hi. I’m working on a Wordle solver (it competes with my wife, which is a mistake on many levels) and have run into something that confuses me.
>>
>> I wanted to “each” a bonded -. to an array of boxed strings. But the bond seems to behave differently from the equivalent(?) unbonded expression.
>>
>> result =: 'a0b0o1d2e0'
>> result -. '0'
>> abo1d2e
>> -.&'0' result
>> abo1d2e
>> result -. '012'
>> abode
>> -.&'012' result
>> 13564010916962913 4385872768 1 0 0
>>
>> Everything behaves as expected up to “53212034851425 0 6 1 5”, which seems very peculiar. Could someone tell me what I’m missing here? (J901 on iPadOS.)
>>
>> Thank you.
>>
>> Ed
>>
>> 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
More information about the Programming
mailing list