Newly created alias is not an alias
Alain Farmer
alain_farmer at yahoo.com
Wed Sep 3 01:45:48 EDT 2014
Hello Kay,
I tested it empirically.
In version 6.6.2, the aliasReference of a file/folder returns the path to file/folder itself; not empty as you suggest.
Either way, my function below works:
function isAlias pathToAlias
return the aliasReference of pathToAlias is not pathToAlias
end isAlias
On Tuesday, September 2, 2014 11:33:14 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
On Wed, Sep 3, 2014 at 2:18 AM, Alain Farmer <alain_farmer at yahoo.com> wrote:
> Thank you, Mark, but the aliasReference is NEVER empty.
>
The Dictionary says:
Comments:
If the aliasPath does not exist, the aliasReference function returns
empty and the result is set to "can't get".
If you are seeing something different, submit a bug report.
http://quality.runrev.com/
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list