AW: slash and backslash in effective filename - why?
Tiemo Hollmann TB
toolbook at kestner.de
Thu Nov 11 02:53:38 CST 2010
hmm, that is an interesting hint. My development folders are indeed on a
windows server with a mapped share.
But creating a new test stack, once saved on my local windows drive and a
second time saved on the mapped server drive, both times the effective
filename returns a path with slashes. In my real life application same call
returns a path with backslashes. So there must be some more dependencies
what changes the behavior of the effective filename.
So I will always have to check first if there are slashes or backslashes in
my effective filename and depending on that result I will set the itemdel
appropriate, because I never can be sure anymore, what is returned. Pretty
> -----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:48
> An: How to use Revolution
> Betreff: Re: slash and backslash in effective filename - why?
> Back slashes are used in netbios network share names. \\my-server\data
> is how you would refer to a share on a PC using the netbios convention.
> Apple uses a different method, with fully qualified domain names ex.
> sbm://my-server.lan/data. Once you have the volume mounted though, you
> would use the mount point /volumes/data.
> Might a file you are refrencing be a netbios volume?
> 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
> > items out of my effective filename. To handle the items I have to set
> > 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
> > stack a path with slashes and in the second stack with backslashes
> > 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 -
> > nevertheless the delimeter slash works and it returns chunks of my
> > 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
> > 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
> > 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:
More information about the use-livecode