{SCRIPT: DISPLAYS ALL SEGMENTS HAVING A SPECIFIC CODE FOR ALL SOURCES IN PROJECT} {Copyright © 2008, Idea Works, Inc.} {This script may be used for free with any licensed copy of Qualrus™} foreach code in project.codes writeln("") writeln("CODE: "+code.name+": ") foreach source in project.sources foreach segment in source.segments if segment.hascode(code.name) then {display(segment)} {this shows the segment and all codes associated with it} writeln(segment.text) {this shows only the segment text, no codes, etc.} endif endfor endfor endfor.