Hi Petr, 

you wrote:
>
>if (last path) <> "/" [append path "/"]

You have to be careful with 'last. if path is empty, then 'last will cause
an error message, whereas (back tail path) will evaluate to an empty block:

>> path: []
== []
>> if (back tail path) [print "wow."]
wow.
>> if (last path) [print "wow."]
** Script Error: Out of range or past end.
** Where: last path


Elan

Reply via email to