◄Up► ◄Contents► ◄Index► ◄Back► ─────Programmer's WorkBench───────────────────────────────────────────────── Browse menu, Which Reference command («pwbrowsewhref») Function Pwbrowsewhref Choose Which Reference to display the Which Reference? dialog box where you can choose from a list of candidate definitions and references for a reference to an overloaded name. This is useful when a member function is used outside the context of its definition. The browser uses the word at the cursor as the name to search on and displays it after the Search On label. The browser applies a heuristic (that is, it makes an educated guess) and lists the most likely candidates first, then the less likely candidates in the Possible Referands box. Items at the bottom of the list are probably not possible definitions or references for the name. Note that only references in the current source file are listed. Choose Goto Def or double-click an item in the Possible Referands list to display the Goto Definition dialog box with the selected name in the Name box. See: ◄Goto Definition► Choose Goto Ref to display the Goto Reference dialog box with the selected name in the Name box. See: ◄Goto Reference► Example When the Options function on the following source line is a member of two or more classes, it may not be apparent which reference is which. result = Options(a) + Options(b) To see the list of likely references, place the cursor on the line and choose Which Reference from the Browse menu. -♦-