I'm not really familiar with the movement routines and all, but wouldn't
this be easily accomplished by traversing the contents list of the
object in question and calling moveInto for each object?
Say something like this...
// code untested - use at your own risk
// compile with c-like options, #pragma C+
dumpme: function( src, dest ) {
local list;
list = src.contents;
while ( list != nil ) { // if list isn't empty...
list[1].moveInto( dest ); // move head of list into destination
list = cdr( list ); // get tail of list
}
}
... that ought to be all there is to it.
(I think you can just check 'while ( list )' to determine if the list is
nil or not, but I'm not certain.)
-- Carl (ravenpub@southwind.net) * Some days it's not worth chewing through the restraints.