Right now if you try fileinfo(f).name it will complain at the "." about syntax. So, you need to assign a temp variable with the value and reference that, as in:
var finfo = fileinfo(f)
finfo.name
So, we could make a special case, but are there other predefined functions that return an object that should be considered, and what about those that return an array; pretty sure these cause similar problems.
Right now if you try
fileinfo(f).name
it will complain at the "." about syntax. So, you need to assign a temp variable with the value and reference that, as in:So, we could make a special case, but are there other predefined functions that return an object that should be considered, and what about those that return an array; pretty sure these cause similar problems.