pack: package utilities | ||||||||||||||||||||||||||||
a package is a 2-column matrix of: name, value that can be used to store nouns, or otherwise associate names and values. A name is any character vector. pack and pdef work only when the names are proper J names. definitions for nouns only: pk=. pack nl create package from namelist nl=. pdef pk define package definitions for any names: text=. pk1 pcompare pk2 compare packages val=. name pget pk get value of name in package pk=. new pset old merge new and old packages pk=. nl pex pk remove namelist from package pk=. nl psel pk select namelist from package res=. packlocale locs package all nouns in locales
package namelist form: pack 'one two three' pack 'one';'two';'three' package locales form: packlocale locales example: packlocale 'base';'z';'j' each locale is packaged and forms one row of the result compare two packages form: pk1 pcompare pk2 package define form: pdef pk remove namelist from package form: namelist pex pk return value of name in package form: name pget pk - return value of name in package select namelist from package form: namelist psel pk merge new into old form: new pset old result has values in new, plus remaining values in old
| ||||||||||||||||||||||||||||
>> << Ndx Usr Pri JfC LJ Phr Dic Rel Voc !: wd Help User |