Can we access the parts of what maximize(stirng, int, int, boolean, boolean) returns?
The five-parameter version of maximize() returns an integer-indexed array of anonymous records. Is there a way to capture this return value in a variable so that it can be indexed and field-extracted later at my leisure? I've poked around and tried some things but I haven't had any success. I can save it in a variable of "aggregate" type, but then I can't dig into it. Thanks for any advice y'all can provide.
You can plug the aggregate directly into a for-loop, to run through it: foreach i,maximizeResult in maximize(max,1,0,true,true)