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.macm...@gmail.com> 
wrote:
 


On Wed, Sep 3, 2014 at 2:18 AM, Alain Farmer <alain_far...@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to