Introduction - If you have any usage issues, please Google them yourself
In many common financial software, the subject code is generally used to display the tree structure. To achieve this, the general practice is to use multiple (nested) cycle, and even recursive algorithm, etc., will chart the code woven into a tree, but this algorithm is not only complex and inefficient implementation.
Packet : 103244832delphisam.rar filelist
用树型结构表示科目代码的一种高效算法(delphi).txt