Re: [Jgeneral] Unexpected nonce error in j901
Thank you. Willco. On Mon, Apr 22, 2019 at 5:52 PM Henry Rich wrote: > If you want to keep using replace you can change the offending k} to > (<"0 k)} . > > Henry Rich > > On 4/22/2019 10:54 AM, chris burke wrote: > > Hi Pablo > > > > That replace function is not in the distribution. Perhaps you could use > the > > distributed rplc, i.e. > > > > 'abcdef' replace 'ab' > > > > |value error > > > > | 'abcdef' replace'ab' > > > > > > 'abcdef' rplc 'ab' > > > > bbcdef > > > > > > The behavior of } has changed in 901, see > > https://code.jsoftware.com/wiki/System/ReleaseNotes/J901 > > > > Also, please send comments on the beta to the beta forum, thanks. > > > > Chris > > > > > > > > On Mon, Apr 22, 2019 at 7:42 AM Pablo Landherr > > > wrote: > > > >> The replace verb is a utility (can't remember from which library). Been > >> using it forever, but now it seems broken. Any thoughts? > >> > >> Kind regards, > >> Pablo > >> > >> 9!:14 '' > >> > >> j901/j64/darwin/beta-c/commercial/www.jsoftware.com/2019-04-03T11:20:32 > >> > >> 'abcdef' replace 'ab' > >> > >> |nonce error: replace > >> > >> | q k}x > >> > >> replace > >> > >> 4 : 0 > >> > >> 'p q'=. y > >> > >> j=. p nosindx x > >> > >> if. ''-:j do. x return. end. > >> > >> d=.
Re: [Jgeneral] Unexpected nonce error in j901
If you want to keep using replace you can change the offending k} to (<"0 k)} . Henry Rich On 4/22/2019 10:54 AM, chris burke wrote: Hi Pablo That replace function is not in the distribution. Perhaps you could use the distributed rplc, i.e. 'abcdef' replace 'ab' |value error | 'abcdef' replace'ab' 'abcdef' rplc 'ab' bbcdef The behavior of } has changed in 901, see https://code.jsoftware.com/wiki/System/ReleaseNotes/J901 Also, please send comments on the beta to the beta forum, thanks. Chris On Mon, Apr 22, 2019 at 7:42 AM Pablo Landherr wrote: The replace verb is a utility (can't remember from which library). Been using it forever, but now it seems broken. Any thoughts? Kind regards, Pablo 9!:14 '' j901/j64/darwin/beta-c/commercial/www.jsoftware.com/2019-04-03T11:20:32 'abcdef' replace 'ab' |nonce error: replace | q k}x replace 4 : 0 'p q'=. y j=. p nosindx x if. ''-:j do. x return. end. d=.
Re: [Jgeneral] Unexpected nonce error in j901
Hi Pablo That replace function is not in the distribution. Perhaps you could use the distributed rplc, i.e. 'abcdef' replace 'ab' |value error | 'abcdef' replace'ab' 'abcdef' rplc 'ab' bbcdef The behavior of } has changed in 901, see https://code.jsoftware.com/wiki/System/ReleaseNotes/J901 Also, please send comments on the beta to the beta forum, thanks. Chris On Mon, Apr 22, 2019 at 7:42 AM Pablo Landherr wrote: > The replace verb is a utility (can't remember from which library). Been > using it forever, but now it seems broken. Any thoughts? > > Kind regards, > Pablo > > 9!:14 '' > > j901/j64/darwin/beta-c/commercial/www.jsoftware.com/2019-04-03T11:20:32 > > 'abcdef' replace 'ab' > > |nonce error: replace > > | q k}x > > replace > > 4 : 0 > > 'p q'=. y > > j=. p nosindx x > > if. ''-:j do. x return. end. > > d=.
[Jgeneral] Unexpected nonce error in j901
The replace verb is a utility (can't remember from which library). Been using it forever, but now it seems broken. Any thoughts? Kind regards, Pablo 9!:14 '' j901/j64/darwin/beta-c/commercial/www.jsoftware.com/2019-04-03T11:20:32 'abcdef' replace 'ab' |nonce error: replace | q k}x replace 4 : 0 'p q'=. y j=. p nosindx x if. ''-:j do. x return. end. d=.