Example of Globals
The examples here show 3 entries made with the myBASdatent routine. The date of birth is stored in internal format. To look at the globals, use the Management Portal, in the SAMPLES namespace. Click System Explorer > Globals. Find the entries for ^PersonD and ^PersonI, and click View for each one.
The ^PersonI global contains three sorted indices. The leaves in each index are in sorted order. The DOB and Name indices have an additional dimension which allows more than one person to have the same date of birth or name. The Phone index' structure doesn't allow this.
The next page shows a tree diagram of these globals.