Microsoft KB Archive/34348

= MAC QB 1.00 README: Search Menu Features Explained Further =

Article ID: 34348

Article Last Modified on 11/21/2006



This article was previously published under Q34348



SUMMARY
The following supplementary information for the Search Menu Features needs to be added to the &quot;Microsoft QuickBasic 1.00 User's Guide.&quot; This information was taken from the README file from the release disk.



Pages 16, 53 New Search Menu Features
Microsoft QuickBasic has several new Search menu features to make navigating your programs much faster.

Several of these features are token-based. A &quot;token&quot; is a Basic keyword, variable name, subprogram name,or label. Anything highlighted when you double click is also a token. The following list adds to or clarifies information about the Search menu.

Page 17 Find Definition
With the insertion point in a line or label reference, subprogram name, or FN function name, QB scrolls the list window to that name's definition. The insertion point does not move, so you can return to it by pressing an arrow key or choosing &quot;Find Insertion Point&quot; from the Search menu.

For label references, QB shows the label. For a subprogram name, QB shows the SUBI statement. For an FN, QB shows the DEF FN statement. This does not work for other tokens. The search is much faster than Find.

It is handy to keep a list of your important subprograms and labels in a comment at the start of the file so you can &quot;Jump To&quot; line 1, then &quot;Find Definition.&quot;

Page 17 Find Selected Text
This has the same effect as typing the highlighted text in the Find dialog. After executing this command, the text appears in the Find dialog, which allows the Find Next command to continue searching.

Page 18 Jump To
Enter the source line offset number (not the Basic line number). The number displayed in a compiled application's run time error dialog is the source line offset number for that error. This command makes it easy to find the offending line.

To jump to the beginning of a file, type COMMAND-J, &quot;1,&quot; and . To jump to the end of a file, type COMMAND-J, enter any letters (just press your hand on the keyboard), and press .

Page 18 Set Info
If you Set Info on a new token, the 'info' is saved in the resource fork of your source file. You can move 'info' entries you define to QB by typing &quot;MBUI&quot; into the &quot;other&quot; dialog in the Statement Mover program, or by using ResEdit.

Additional query words: MQuickB readme docerr

Keywords: KB34348

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.