Member
2011-04-10, 04:50 PM
Thank you!
Edit: This doesn't actually solve my problem.. because I still want strip some info from the meta data of the line. I have:
Code:
set myIncoming to (incoming lines of vertex)
set myCount to count of myIncoming
if (myCount is equal to 0) then
set pathPrefix to stackLib's push({vertex, missing value},pathPrefix)
copy pathPrefix to beginning of completedPaths
set pathPrefix to stackLib's pop(pathPrefix)
else
repeat with currentLink in myIncoming
set pathPrefix to stackLib's push({vertex, currentLink}, pathPrefix)
if ((source of currentLink) is not missing value) then
set src to source of currentLink
dft(src)
else
copy pathPrefix to beginning of completedPaths
set pathPrefix to stackLib's pop(pathPrefix)
end if
set pathPrefix to stackLib's pop(pathPrefix)
end repeat
end if
When there is no source I just get a message from saying "No result was returned from some part of this expression" when executing the "if source is missing value" part.
Last edited by cyleigh; 2011-04-10 at 09:19 PM..