Newly created alias is not an alias

Mark Wieder mwieder at ahsoftware.net
Mon Sep 1 19:29:25 EDT 2014


Alain Farmer <alain_farmer at ...> writes:

>    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 !?!

I've never heard of a "there is an alias" reference. Instead try

create alias "myAlias" to folder "existingFolder"
if the aliasReference of "myAlias" is empty then
  die "it's not a reference!"
end if

-- 
 Mark Wieder
 ahsoftware at gmail.com






More information about the use-livecode mailing list