go to www.geomview.org home page
 
Home

Overview
FAQ
Documentation

Download

Mailing List

Geomview For Windows?

Support
Users
Development

Bug Reporting
Contributing
Contact Us

Sponsors

 

Site Search

 

Advanced
Search

 
About the software@geom archive

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

Re: loading two geoms



Oops, sorry, didn't mean to send that last msg!  Anyway, it's not true --
the "save" code does write new-geometry etc.

Hmm.  This is definitely awkward.  (new-geometry "thing" ...) creates an
object, but when "thing" already exists, the object doesn't have the
expected name; instead it becomes e.g. "thing<4>".  But later commands in the
saved script expect to refer to it as "thing", so end up applying to
the old "thing" rather than the new one.

One way we could deal with this might be as follows.  Let "new-<whatever>",
rather than picking a unique name for the new object in case of conflict,
instead rename the *old* object to a unique name.  This implies that we want
references to "name" to refer to the last-created version of it, rather than
the oldest one.  Certainly true in your case, and sounds plausible in general.

Anyone object to such a change?


 
Home | Overview | FAQ | Documentation | Support | Download | Mailing List
Windows? | Development | Bug Reporting | Contributing | Contact Us | Sponsors
 
site hosted by
SourceForge Logo