slash and backslash in effective filename - why?
Bob Sneidar
bobs at twft.com
Wed Nov 10 11:47:55 EST 2010
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?
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
More information about the use-livecode
mailing list