>First off, THERE IS NO 30K LIMIT. There is not a problem with limited
>script space, period.
ditto. Alain, this is our first official decision, not democratic but
anyway: Alain is to forget HC's script size limits in discussions about
OpenCard. <g>
>function NuCard:FindStack name
> for each line l in the stack search paths
> if there is a file (l & name) then if there is a stack (l &
>name) then return l & name
> end for
Anthony,
If we don't want to kill the xTalk community right away, this would be:
repeat for each line l in the stack search paths
-- statements
end repeat
That's how MC has it, and it goes well with HC's general concept of
telling people that a repeat loop really repeats the statements it encloses.
> put it&return before the stack search paths
I think this'd be
set the itemdelimiter to colon
delete last item of it
put it & colon & return before the stack search paths.
Or maybe just
put owningFolder(it) &return before the stack search paths
>Complex?! It's pretty simple, really. See above.
I agree. Also, people who don't need it won't have to toy with it. But
those who need to locate a file in some advanced way will look for this,
find it and be happy.
>>What if
>>users inadvertently changes (a search and replace all,
>>for example) or deletes these critical handlers?
I think our users will be smart enough not to carelessly replace stuff in
a home stack. And if they do, they can re-install the home stack to fix it,
or copy over the stuff from a backup on our web site. We shouldn't assume
our users are too stupid. That's the one mistake Atkinson made, and what
did it get us? nonscrollable windows and only one stack open at a time.
Blech.
>If the messages reach NuCard, they'd be handled internally. So it won't be
>catastrophic if you delete them.
The internal way of doing it would of course be much simpler. It'd simply
bring up the dreaded "Where the heck is ...?" window w/o examining the
search paths. No crash, just a little inconvenience if you're used to your
app finding all files.
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