Help with simple macro

Trying to understand the 9.0 changes. We have a change to getting friend info. I made a very simple macro that seems to comply with the changes but nothing happens. I have several friends on my friend list.

/run local f = C_FriendList.GetFriendInfoByIndex(1) print(f.name)

Any thoughts?