You can define a function that takes an array as input and returns the product of its elements. Here's an example:
main.m269 chars13 linesYou can then call this function by passing your array as an argument:
main.m68 chars4 lines
gistlibby LogSnag