Dear Francisco,
Assuming "jobs[i]" is a sequence on which noOverlap applies, what you can do is print each sequence in the scripting block by writing:
writeln(jobs[i])
It will display the list of the intervals present in the sequence.
You can iterate over a sequence in a scripting block with:
var cur = jobs[i].first();
var next;
while(cur) {
# write the interval name
writeln('cur ', cur.name);
next = s[m].next(cur);
cur = next;
}
During scripting, you can also test for optional interval presence by accessing the 'present' property.
Naturally, this property be always true for all optional intervals you'll find in the sequence iterated on it in the scripting block block.
Writing a sequence name is simply done with:
write(jobs[i].name)
I hope this helps,
Cheers,
------------------------------
Renaud Dumeur
------------------------------