Improved function resultByProperty and added two new functions resultByIndex and resultBySubscript.