I came to this conclusion over a year ago and have had refactoring away from it 
on the back burner. No longer. I went through my code and divorced myself from 
this addictive coding habit. 

Bob S


> On Dec 16, 2019, at 09:15 , Mark Waddingham via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Upshot - never use the defaultFolder to find stackfiles - unless they are 
> passed in by the user as arguments in a command-line context. There's 
> 'specialFolderPath's for various places these days (most noticeable resources 
> and engine); but you can also just grok the filename property of your 
> mainstack too. (The stackFiles property can be useful here too - this allows 
> mapping arbitrary stack names to filepaths, which if relative are relative to 
> the stack on which the stackFiles property is set).
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to