Notifications
Announcements
No record found.
Set set = new Set(Types::String); SetEnumerator setEnumerator; while select... { str x = this.get(...); if (x) { set.add(x); } } if (!set.empty()) { setEnumerator = set.getEnumerator(); setEnumerator.reset(); while (setEnumerator.moveNext()) { if(this.existInTable1(setEnumerator.current()) { contractClass = new ContractClass; contractClass.parmValue(setEnumerator.current()); List1.addEnd(contractClass); } } }
Set set = new Set(Types::String); while select .... { str x= this.get(..); if (x && !set.in(x) { set.add(x); if(this.existInTable1(x) { contractClass = new ContractClass; contractClass.parmValue(x); List1.addEnd(contractClass); } } }
//stopwatch System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); sw.Start(); //add code to time here sw.Stop(); info(strFmt("Done. Duration %1s.", sw.ElapsedMilliseconds/1000));
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 611 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader