AW: slash and backslash in effective filename - why?

Tiemo Hollmann TB toolbook at kestner.de
Thu Nov 11 03:55:03 EST 2010


Not a stack, but other files in subdirectories related to my standalone.


> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Bob Sneidar
> Gesendet: Mittwoch, 10. November 2010 17:59
> An: How to use Revolution
> Betreff: Re: slash and backslash in effective filename - why?
> 
> Hmmm... are you trying to use the effective filename to locate a stack
> inside of a bundle?
> 
> Bob
> 
> 
> On Nov 10, 2010, at 3:04 AM, Tiemo Hollmann TB wrote:
> 
> > Hi all,
> >
> > LiveCode 4.5.1, Win 7
> >
> > I have two stacks, a main stack and a second stack as a separate
> stack file
> > where I switch to by go to stack.
> >
> > In both preopenstack handlers I create some working pathes by
> extracting
> > items out of my effective filename. To handle the items I have to set
> the
> > itemdel to slash.
> >
> >
> >
> >> From now to then while testing some other features suddenly I didn't
> got any
> > pathes returned anymore, because of the itemdel slash.
> >
> > When asking for the effective filename of this stack, I get in the
> first
> > stack a path with slashes and in the second stack with backslashes
> and
> > therefore the items of my effective filename where empty.
> >
> >
> >
> > I tested with Rev 3.5, because I thought it has something to do with
> > LiveCode but the path in my second stack contains also backslashes -
> BUT
> > nevertheless the delimeter slash works and it returns chunks of my
> path.
> > Then I created two new empty stacks, jumped with go from one to
> another, but
> > got slash pathes on both stacks.
> >
> >
> >
> > My workaround now is to set the itemdel to backslash on windows, but
> this
> > can't be the straight way, because the last years it worked with
> slash as
> > itemdel on both systems.
> >
> >
> >
> > Has anybody encountered this behavior or has an idea what may cause
> this
> > behavior?
> >
> > Thanks
> >
> > Tiemo
> >
> >
> >
> >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list