[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

:zz: Now that we have Mark, how to output a Slice (1)


Whatever the keystroke is for outputting a slice,
 here's how it should probably work:

1.  Mark all cells, once for each dimension except "cursor."
 I.e. with separate mark-cells m.d.1, m.d.2, ...,
 all posward in d.mark from the cell.
 All the m.d.1 cells are to be connected on d.marklist;
 similarly for all the m.d.3 cells, all the m.d.clone cells, ...

a.  Now go through the cells marked with m.d.1
 till you find a marked cell which is has no neighbor
 in -d1.  (It is either a negend cell or an orphan, with
 no connection in d.1.)

c.  Start a new rank on the slice list
 (UNLESS this cell has no posward neighbor,
 in which case go to a).  

d.  Remove its m.d.1 mark.

e.  Put this cell on the current rank of the slice list.

f.  Go posward in d.1 from the current cell.
 (If no cell is posward, go to a).
 Consider this new cell.

g.  Go to e.

2, 3 etc.  Repeat for every dimension.

When finished, if I've written this correctly,
 you'll have a list including each independent rank
 in each dimension and no mark cells left.

OOOOOPS-- forgot about looping ranks.
 Left as an exercise for the reader ...

Theodor Holm Nelson, Visiting Professor of Environmental Information
 Keio University, Shonan Fujisawa Campus, Fujisawa, Japan
http://www.sfc.keio.ac.jp/~ted/    PERMANENT E-MAIL: ted@xxxxxxxxxx
 Home Fax: 0466-46-7368  From USA: 011-81-466-46-7368
Project Xanadu (Permanent)
 3020 Bridgeway #295, Sausalito CA 94965
 Tel. 415/ 331-4422, fax 415/ 332-0136
Quotation of the day:
"I have recently decided, to my dismay, that perhaps this IS the best of
all possible worlds-- after an agonizing reconsideration of the meanings
and scopes of 'possibility'."  Ted Nelson, 17 June 1998.