klownboy wrote:I'm not sure why there's a second "0" after the comment in that line of TheQwerty's original code ??
Code: Select all
// Retrieve the lengths as a mathematical equation.
// You may need to adjust the '{prop:*Length}' for your system.
Global $G_DURATION = Report('+{prop:*Length}', 0 /*use 1 for selection instead*/, 0);The second zero is added as a "header" to the generated report so that we have a more valid equation. Without that zero the report would return:
Code: Select all
+00:01:02+00:04:24Code: Select all
0+00:01:02+00:04:24
XYplorer Beta Club