Re: Need Programming Algorithm

2006-12-07 Thread David Taylor
It's not pseudocode, but try these changes to Simon's algorithm. Make each list the same length (the maximum number of values for a property) and fill the unneeded indexes in each list with some unique marker. Test for the marker in each loop. When you find it, drop out of the current loop

Need Programming Algorithm

2006-12-07 Thread Rick Quatro
Hello All, I have an interesting FrameMaker programming problem that I am having trouble solving. I have a PDF that will help explain the problem at http://www.frameexpert.com/SettingsGrid.pdf Each row in the table represents a property setting (font size, leading, etc.), while each cell in

Need Programming Algorithm

2006-12-07 Thread Rick Quatro
Hi Simon, You are right, except if one or more of the lists is empty, it short-circuits everything. Rick Hi Rick. Unless I greatly misunderstand you, I believe you just need a series of nested loops, driven by a series of string lists. The rough algorithm is: New StringList NewVar(vlFirst);

Need Programming Algorithm

2006-12-07 Thread David Taylor
It's not pseudocode, but try these changes to Simon's algorithm. Make each list the same length (the maximum number of values for a property) and fill the unneeded indexes in each list with some unique marker. Test for the marker in each loop. When you find it, drop out of the current loop