Newly created alias is not an alias

Alain Farmer alain_farmer at yahoo.com
Sun Aug 31 22:38:33 EDT 2014


Hello,
I am using version 6.6.2
I am perplexed by the following:

   setDirectoryTo someFolder
   create alias "myAlias" to folder "existingFolder"
   if the result is not empty then die the result
   answer there is an alias "myAlias" -- returns false !?!
   answer there is an alias (someFolder & "myAlias") -- returns false !?!

Shouldn't the alias that I have just created test TRUE ?
Apparently the alias is not an alias.
It's the alias of a folder, and "there is a folder" returns true for the alias.
I 'get-it' but this is NOT useful.
I want to be able to distinguish between ALIAS and FOLDER (and FILE too).
Has anyone experienced this ?
Have you worked-out a workaround ?
Thank you,
Alain



More information about the use-livecode mailing list