Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/34348

From BetaArchive Wiki

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 "Microsoft QuickBasic 1.00 User's Guide." This information was taken from the README file from the release disk.

MORE INFORMATION

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 "token" 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 "Find Insertion Point" 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 "Jump To" line 1, then "Find Definition."

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, "1," and <RETURN>. To jump to the end of a file, type COMMAND-J, enter any letters (just press your hand on the keyboard), and press <RETURN>.

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 "MBUI" into the "other" dialog in the Statement Mover program, or by using ResEdit.


Additional query words: MQuickB readme docerr

Keywords: KB34348