If by function you mean logic or math function, most are already there. If by function you mean subroutine where you put values in variables, call the routine, and have it return with new values in variables based on some operation, then yes you can do that too. In terms of getting a transform, there is little difference between the two except for code size.
Bookmarks