I understood that print is not possible on Solidity, is recommended to use
event and events can be read by using
.watch. In order for an event to appear it has to be mined first.
What if I have a function in Solidity the goal is to search through an array and print out all elements that meet certain criteria. This constant function is to be executed locally, not via mining, is it possible?