>Alain: Scripting the search-strategies is indeed a
>valuable feature, but I am also wondering to what
>extent the search-mechanism should be externalized and
>put into the hands of the user, and how much should
>reside inside the application itself.
Alain,
it's a valid question, but with multiple stacks in one file, I guess my
approach to easily copy a minimum-size home stack with the appropriate
scheme to search for files along into your standalone would qork quite
well. Since most of this will rely on built-in functions like "answer file"
it'll be about as fast as if it was inside the application itself. The
advantage is, that it can be left out of applications that don't need it.
Only stacks that handle external files need the search paths facility,
which is why many people will love to be able to leave it away.
>Alain: How much limited script space (chars) are going
>to be occupied by this search-feature? How likely is
>it that users will toy around with such a complex
>feature? How reliable will their changes be? What if
>users inadvertently changes (a search and replace all,
>for example) or deletes these critical handlers? It
>happened to me when I was a HyperCard newbie, and I
>wondered for years why this path-feature never seem to
>work for me as was suggested it would in the many
>HC-related books that I read.
FORGET script-space limits. OpenCard will in the end have multiple stacks
in one file, each of which will have an own script, and none of these
scripts will have any 32k limit whatsoever. Forget HyperCard-thinking!!!
We're not adding to a limited HC using XCMDs, we're rebuilding HC as it was
meant to be.
>Alain: Could we objectivize handlers? In other words,
>treat individual handlers inside a script as an
>instance of the handler-class. Each handler could thus
>have properties: like dontSearch, dontChange,
>dontRemove ... for examples.
I don't like this. I don't know why, but I don't like it. Maybe a
lockScript property, or setting the home stack's cantModify while keeping
search paths in prefs files in the system folder ...
Cheers,
-- M. Uli Kusterer
------------------------------------------------------------
http://www.weblayout.com/witness
'The Witnesses of TeachText are everywhere...'
--- HELP SAVE HYPERCARD: ---
Details at: http://www.hyperactivesw.com/SaveHC.html
Sign: http://www.giguere.uqam.ca/petition/hcpetition.html