Another interpretation of `idim' (but I don't know if it confuses) to avoid a limit is vbaplsinit idim, ilsnum [, idir1] [, idir2] [...] [, idir32] where `idim' is an "integer" for the old behavior and layout.dimension if there are multiple layouts. Example: vbaplsinit 2, ... (layout = 0, dimension = 2) vbaplsinit 3, ... (layout = 0, dimension = 3) vbaplayouts 1234 vbaplsinit 132.2, ... (layout = 132, dimension = 2) tito On Tue, Jul 17, 2012 at 07:28:55PM +0100, jpff@cs.bath.ac.uk wrote: > I ike it -- compable with current opcode, but nees to decide on max number > of layouts; 10, 100, 1000,.... according to number of digits one keeps. > > I have a vbaplsinit1 at present but would be easy to modify > > ==John ff > > > An idea is a new opcode > > > > vbaplayouts inum > > > > that allocates an array of ls-instances and assigns it to the > > global variable `vbap_layout_array'. Then the fractional part of > > `idim' in > > > > vbaplsinit idim, ilsnum [, idir1] [, idir2] [...] [, idir32] > > > > is the number of the layout. Example: > > > > vbaplayouts 4 > > vbaplsinit 2.01, 8, 0, 45, 90, 135, 180, 225, 270, 315 > > vbaplsinit 2.02, 8, 0, 30, 80, 140, 150, 200, 290, 330 > > vbaplsinit 2.03, 8, 0, ... > > vbaplsinit 2.04, 8, 0, ... > > > > If the frac(idim) is 0, the ls-instance is created with the > > classic `create_ls_table'. > > > > tito