In An example using explicit and object locatives The sampe script:
make=: verb define NB. make doubly-linked queue of (y) numbered locales for_i. i.y do. loc=. < ": i name__loc=: 'This is locale ' , ": i prev__loc=: < ": y| i-1 next__loc=: < ": y| i+1 end. empty'' ) generates a locale error. Numbered locales can only be used in the context of Class scripts and are instances of the defined class. These numbered classes names are created using conew 'ClassName'. The sample code should therefore be modified to use legal locale names like loc =. <'loc',":i ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm