I have a folder with a bunch of formal modules and I want to know which ones have at least 1 baseline. I started trying something like this:
Item icurr
Folder scr = current Folder
Baseline b = baseline(1, 0, null)
for icurr in scr do
{
if( baselineExists(icurr, b) )
{
print name(icurr)
}
}
The problem with this code is that baselineExists() only accepts a Module object as first parameter and when I declare icurr to Module instead of Item the for loop this does not recognize any module.