Some little questions about Data Stacks
Rob Cozens
rcozens at pon.net
Thu Jun 5 09:51:01 EDT 2003
François, et al:
>To the best of my knowledge, an external stack can have whatever
>extension you script support for.
One fact of Mac OS life for which I see no workaround is that once
you create stacks & stack-opening standalones that support your File
Type & Creator codes, you must be careful not to let the RunRev Dev
application save your data stack(s). If "RevDev" saves your data
stack, it changes Type/Creator" to "RSTKRevo".
SDB databases set a stack property when changed and check that
property on closeStack. The save handler specifies the Type/Creator
code.
Whenever I edit a handler in a db stack, I also browse the db and
unlock & relock one record...which sets the property that saves the
db. Then I answer "No" when RevDev asks if I want to save the
changes (as RSTKRevo), but the changes are saved with the proper
Type/Creator by the db stack internal logic.
Perhaps RevDev should ask before changing Type/Creator codes?
--
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list