Finding and executing functions and events

PocketBuilder looks for a matching function or event based on its name and its argument list. PocketBuilder can make a match between compatible datatypes (such as all the numeric types). The match does not have to be exact. PocketBuilder ranks compatible datatypes to quantify how closely one datatype matches another.

A major difference between functions and events is how PocketBuilder looks for them.