Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-17 Thread Ian Clark
Just released addon: format/zulu-bare . This is like format/zulu-lite except that it loads the so-called *2* verbs only, in their "bare" (uncorrected) versions. It comes with its own Lab (zulu-bare.ijt). It's of minority interest only. Unless you want extreme performance, I'd recommend format/zu

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread Ian Clark
Right, I've just done that. ian-clarks-imac:~ ianclark$ svn checkout http://www.jsoftware.com/svn/addons/trunk/ jaddons Checked out revision 3772. ian-clarks-imac:~ ianclark$ svn commit jaddons -m "inc labs/labs/manifest VERSION to 1.0.33" Sendingjaddons/labs/labs/manifest.ijs Transmitting

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread bill lam
JAL will not track its content (except for misc folder), it will rebuild whenever the version number inside manifest.ijs is increased. So all you have to do is to "touch version". Пнд, 17 Сен 2012, Ian Clark писал(а): > Oh dear! > > What shall I do? Shall I restore /labs/labs/lablist.txt --and t

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread Ian Clark
Oh dear! What shall I do? Shall I restore /labs/labs/lablist.txt --and try again? (Does it need restoring? Won't it just get rebuilt afresh?) On Mon, Sep 17, 2012 at 5:49 AM, bill lam wrote: > Sorry, I was not precise enough. I meant updating the manifest.ijs of > labs/labs by increasing its ver

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread Ian Clark
Oh by the way... I've also released a companion addon called 'format/zulu-lite' . This is just like 'format/zulu', except it omits the sandbox, with its sample data and app. It's for people who want to use the converter-verbs in their own code. Which you'd do by: require 'format/zulu-lite' T

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread bill lam
Sorry, I was not precise enough. I meant updating the manifest.ijs of labs/labs by increasing its version number in order to trigger a new built for labs/labs (not the zulu). Пнд, 17 Сен 2012, Ian Clark писал(а): > Right, Bill, ... > > In j64-701 I've used Package Manager to download the 2 addons

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread Ian Clark
Right, Bill, ... In j64-701 I've used Package Manager to download the 2 addons: zulu and zulu-lite. Then I've added to my local copy of: ~addons/labs/labs/lablist.txt the following lines (in the correct place, which is obvious) ... Format;Strings conversion package;~addons/format/zulu/zulu.ijt Fo

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread bill lam
For J7 jgtk, you need to add a new entry for your lab in the file labs/lablist.txt and update manifest.ijs to release an updated labs addon. (untested) Not sure how it works in jhs. Пнд, 17 Сен 2012, Ian Clark писал(а): >@Emir > A big Thank-you for your set of sample tasks from a bona-fide J

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread Ian Clark
@Emir A big Thank-you for your set of sample tasks from a bona-fide J beginner. They come at the right time for me. I have just released a new addon: "format/zulu". This offers a "sandbox" for experimenting with strings in J. It also installs a new "Lab". See (in j602): Menu: Studio > Labs.

Re: [Jprogramming] replace, insert, remove items from list of boxed strings

2012-09-16 Thread Raul Miller
s =: ' ';'this';'is';'a';'sentence' (<'is') 0} s ┌──┬┬──┬─┬┐ │is│this│is│a│sentence│ └──┴┴──┴─┴┘ 4 ({.,(<'sample'),}.) s ┌─┬┬──┬─┬──┬┐ │ │this│is│a│sample│sentence│ └─┴┴──┴─┴──┴┘ 1 }. s ┌┬──┬─┬┐ │this│is│a│sentence│ └──