Directory Confusion
Posted: Sun Dec 18, 2016 8:36 pm
There seems to be a difference between versions 7.1.3 and 8.1.1 in how it handles 'directory' or 'folder'. This can easily be tested by putting a button on a new stack with the following code:
In 7.1.3 i get "/Users/lohill/Applications" while on version 8.1.1 I get "/Users/lohill/Applications/LiveCode Indy 8.1.1.app".
Is there a way to get the former result in the latter engine without having to do something gross like set the itemdelimiter to "/" and then delete the last item of the directory I get in 8?
Thanks,
Larry
Code: Select all
on mouseUp
put the directory into tDirectory
answer tDirectory
end mouseUp
Is there a way to get the former result in the latter engine without having to do something gross like set the itemdelimiter to "/" and then delete the last item of the directory I get in 8?
Thanks,
Larry